#126F40

Closest named color: Spruce (#0A5F38). oklch(47.9% 0.112 154.9), rgb(18, 111, 64).

Aa

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

About this color

#126F40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 48%, its chroma 0.112 and its hue 155°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.052 away. White text reads best on it, at 6.22:1.

Hue familyGreens
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text3.37:1
White text6.22:1

Values

HEX#126F40
RGBrgb(18, 111, 64)
HSLhsl(150, 72%, 25%)
OKLCHoklch(47.9% 0.112 154.9)

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 #126F40 6.22:1 AA Lc -85.8 Fine for body text
Black text on #126F40 3.37:1 AA large text Lc 23.5 Dividers and decoration only
#126F40 text on white 6.22:1 AA Lc 80.6 Fine for body text
#126F40 text on black 3.37:1 AA large text Lc -21.3 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE5

    oklch(93.6% 0.016 154.5)

  3. Step 200

    200

    #CADFD1

    oklch(88.4% 0.029 156.6)

  4. Step 300

    300

    #A6CBB2

    oklch(80.8% 0.053 155.5)

  5. Step 400

    400

    #74B189

    oklch(70.8% 0.086 154.8)

  6. Step 500

    500

    #4B9D6B

    oklch(63.1% 0.111 154.8)

  7. Step 600

    600

    #288753

    oklch(55.5% 0.119 155)

  8. Step 700

    700 (this color)

    #126F40

    oklch(47.9% 0.112 154.9)

  9. Step 800

    800

    #185D38

    oklch(42.6% 0.092 155.3)

  10. Step 900

    900

    #1C4D30

    oklch(37.8% 0.073 154.7)

  11. Step 950

    950

    #122D1C

    oklch(27% 0.046 154.3)

Export this scale for Tailwind in the Tailwind colors tool

#126F40 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)#6F653D0.100
Deuteranopia (no green cones)#645E430.096
Tritanopia (no blue cones)#006E630.054
Achromatopsia (no color)#6161610.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #126F40

    #126F40

    oklch(47.9% 0.112 154.9)

  • #824276

    #824276

    oklch(47.8% 0.112 334.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126F40

    #126F40

    oklch(47.9% 0.112 154.9)

  • #4F6711

    #4F6711

    oklch(47.8% 0.111 124.7)

  • #006C63

    #006C63

    oklch(47.8% 0.084 184.9)

Open the analogous palette in the generator

Split complementary

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

  • #126F40

    #126F40

    oklch(47.9% 0.112 154.9)

  • #6C4B8F

    #6C4B8F

    oklch(47.9% 0.111 305)

  • #8F3E55

    #8F3E55

    oklch(47.8% 0.112 4.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126F40

    #126F40

    oklch(47.9% 0.112 154.9)

  • #4C569B

    #4C569B

    oklch(47.9% 0.111 275.2)

  • #91422F

    #91422F

    oklch(47.8% 0.112 34.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126F40

    #126F40

    oklch(47.9% 0.112 154.9)

  • #136297

    #136297

    oklch(47.9% 0.111 244.6)

  • #824276

    #824276

    oklch(47.8% 0.112 334.6)

  • #864E00

    #864E00

    oklch(47.9% 0.108 64.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #126F40 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.