#124D28

Closest named color: Pine Green (#0A481E). oklch(37.3% 0.087 151.7), rgb(18, 77, 40).

Aa

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

About this color

#124D28 is a dark, moderately saturated green. In OKLCH its lightness is 37%, its chroma 0.087 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.021 away. White text reads best on it, at 9.91:1.

Hue familyGreens
Lightnessdark (37%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text2.11:1
White text9.91:1

Values

HEX#124D28
RGBrgb(18, 77, 40)
HSLhsl(142, 62%, 19%)
OKLCHoklch(37.3% 0.087 151.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 #124D28 9.91:1 AAA Lc -96.9 Preferred for body text
Black text on #124D28 2.11:1 Fails Lc 11.3 Not readable
#124D28 text on white 9.91:1 AAA Lc 92.7 Preferred for body text
#124D28 text on black 2.11:1 Fails Lc -9.8 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 900.

  1. Step 50

    50

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E1EEE4

    oklch(93.7% 0.019 152.8)

  3. Step 200

    200

    #C9E0CE

    oklch(88.5% 0.035 152)

  4. Step 300

    300

    #A2CDAC

    oklch(80.8% 0.065 151.8)

  5. Step 400

    400

    #6DB380

    oklch(70.7% 0.103 151.7)

  6. Step 500

    500

    #3FA05F

    oklch(63.2% 0.133 151.5)

  7. Step 600

    600

    #0B8A45

    oklch(55.6% 0.145 151.6)

  8. Step 700

    700

    #007538

    oklch(49.2% 0.131 151.5)

  9. Step 800

    800

    #045F2E

    oklch(42.6% 0.11 151.9)

  10. Step 900

    900 (this color)

    #124D28

    oklch(37.3% 0.087 151.7)

  11. Step 950

    950

    #0E2E18

    oklch(27% 0.056 151.2)

Export this scale for Tailwind in the Tailwind colors tool

#124D28 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)#4D46250.073
Deuteranopia (no green cones)#46412B0.072
Tritanopia (no blue cones)#004C440.046
Achromatopsia (no color)#4343430.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #124D28

    #124D28

    oklch(37.3% 0.087 151.7)

  • #5A2D55

    #5A2D55

    oklch(37.2% 0.087 331.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124D28

    #124D28

    oklch(37.3% 0.087 151.7)

  • #394705

    #394705

    oklch(37.2% 0.087 121.9)

  • #004C43

    #004C43

    oklch(37.4% 0.067 181.5)

Open the analogous palette in the generator

Split complementary

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

  • #124D28

    #124D28

    oklch(37.3% 0.087 151.7)

  • #493466

    #493466

    oklch(37.3% 0.086 301.8)

  • #642A3D

    #642A3D

    oklch(37.2% 0.086 1.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124D28

    #124D28

    oklch(37.3% 0.087 151.7)

  • #303C6E

    #303C6E

    oklch(37.2% 0.087 271.5)

  • #672C22

    #672C22

    oklch(37.3% 0.087 31.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124D28

    #124D28

    oklch(37.3% 0.087 151.7)

  • #02456A

    #02456A

    oklch(37.4% 0.087 241.5)

  • #5A2D55

    #5A2D55

    oklch(37.2% 0.087 331.4)

  • #603400

    #603400

    oklch(37.3% 0.086 61.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #124D28 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.