#125E17

Closest named color: Deep Green (#02590F). oklch(42.2% 0.126 143.7), rgb(18, 94, 23).

Aa

White text reads best on this color (7.95:1).

About this color

#125E17 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.126 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.019 away. White text reads best on it, at 7.95:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.63:1
White text7.95:1

Values

HEX#125E17
RGBrgb(18, 94, 23)
HSLhsl(124, 68%, 22%)
OKLCHoklch(42.2% 0.126 143.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #125E17 7.95:1 AAA Lc -91.9 Preferred for body text
Black text on #125E17 2.63:1 Fails Lc 16.9 Dividers and decoration only
#125E17 text on white 7.95:1 AAA Lc 87.1 Fine for body text
#125E17 text on black 2.63:1 Fails Lc -15.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE1

    oklch(93.7% 0.021 143.2)

  3. Step 200

    200

    #CAE1C8

    oklch(88.6% 0.042 143)

  4. Step 300

    300

    #A5CEA3

    oklch(81% 0.074 143.7)

  5. Step 400

    400

    #71B470

    oklch(70.8% 0.119 143.9)

  6. Step 500

    500

    #48A048

    oklch(63.1% 0.151 143.5)

  7. Step 600

    600

    #228A28

    oklch(55.5% 0.164 143.7)

  8. Step 700

    700

    #11751A

    oklch(49.1% 0.152 143.7)

  9. Step 800

    800 (this color)

    #125E17

    oklch(42.2% 0.126 143.7)

  10. Step 900

    900

    #1A4E1B

    oklch(37.6% 0.098 143.6)

  11. Step 950

    950

    #112E11

    oklch(27% 0.062 143.6)

Export this scale for Tailwind in the Tailwind colors tool

#125E17 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#60540C0.092
Deuteranopia (no green cones)#584F1E0.091
Tritanopia (no blue cones)#005B500.080
Achromatopsia (no color)#5151510.127

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #125E17

    #125E17

    oklch(42.2% 0.126 143.7)

  • #6E3174

    #6E3174

    oklch(42.3% 0.126 324)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #125E17

    #125E17

    oklch(42.2% 0.126 143.7)

  • #4E5300

    #4E5300

    oklch(42.3% 0.095 113.7)

  • #005C4A

    #005C4A

    oklch(42.3% 0.081 173.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #125E17

    #125E17

    oklch(42.2% 0.126 143.7)

  • #533C8B

    #533C8B

    oklch(42.3% 0.126 293.7)

  • #7F2953

    #7F2953

    oklch(42.3% 0.126 353.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #125E17

    #125E17

    oklch(42.2% 0.126 143.7)

  • #284992

    #284992

    oklch(42.3% 0.127 263.6)

  • #85292A

    #85292A

    oklch(42.2% 0.126 23.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #125E17

    #125E17

    oklch(42.2% 0.126 143.7)

  • #005576

    #005576

    oklch(42.3% 0.088 233.4)

  • #6E3174

    #6E3174

    oklch(42.3% 0.126 324)

  • #793A00

    #793A00

    oklch(42.3% 0.107 53.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #125E17, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #125E17 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.