#124F28

Closest named color: Pine Green (#0A481E). oklch(37.9% 0.09 151.1), rgb(18, 79, 40).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text2.17:1
White text9.65:1

Values

HEX#124F28
RGBrgb(18, 79, 40)
HSLhsl(142, 63%, 19%)
OKLCHoklch(37.9% 0.09 151.1)

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 #124F28 9.65:1 AAA Lc -96.3 Preferred for body text
Black text on #124F28 2.17:1 Fails Lc 11.9 Not readable
#124F28 text on white 9.65:1 AAA Lc 92.0 Preferred for body text
#124F28 text on black 2.17:1 Fails Lc -10.4 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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE3

    oklch(93.6% 0.02 150.1)

  3. Step 200

    200

    #C8E1CD

    oklch(88.6% 0.038 151.3)

  4. Step 300

    300

    #A1CEAB

    oklch(81% 0.068 151.4)

  5. Step 400

    400

    #6BB47E

    oklch(70.7% 0.108 151.2)

  6. Step 500

    500

    #3CA05D

    oklch(63% 0.137 151.2)

  7. Step 600

    600

    #008B42

    oklch(55.7% 0.15 151)

  8. Step 700

    700

    #007537

    oklch(49.2% 0.132 151.1)

  9. Step 800

    800

    #00602C

    oklch(42.8% 0.115 151.2)

  10. Step 900

    900 (this color)

    #124F28

    oklch(37.9% 0.09 151.1)

  11. Step 950

    950

    #0D2E18

    oklch(27% 0.056 151.7)

Export this scale for Tailwind in the Tailwind colors tool

#124F28 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)#4F48250.074
Deuteranopia (no green cones)#48422B0.075
Tritanopia (no blue cones)#004E460.048
Achromatopsia (no color)#4545450.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #124F28

    #124F28

    oklch(37.9% 0.09 151.1)

  • #5C2E58

    #5C2E58

    oklch(37.8% 0.09 330.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124F28

    #124F28

    oklch(37.9% 0.09 151.1)

  • #3B4902

    #3B4902

    oklch(38% 0.09 121.4)

  • #004E44

    #004E44

    oklch(38% 0.069 180.5)

Open the analogous palette in the generator

Split complementary

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

  • #124F28

    #124F28

    oklch(37.9% 0.09 151.1)

  • #4B356A

    #4B356A

    oklch(37.9% 0.09 301.4)

  • #672B3F

    #672B3F

    oklch(37.9% 0.089 1.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124F28

    #124F28

    oklch(37.9% 0.09 151.1)

  • #313E71

    #313E71

    oklch(37.9% 0.089 270.9)

  • #6A2D23

    #6A2D23

    oklch(38% 0.09 31.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124F28

    #124F28

    oklch(37.9% 0.09 151.1)

  • #00476C

    #00476C

    oklch(38% 0.088 240.5)

  • #5C2E58

    #5C2E58

    oklch(37.8% 0.09 330.5)

  • #633500

    #633500

    oklch(38% 0.088 60.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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