#126D40

Closest named color: Spruce (#0A5F38). oklch(47.3% 0.109 155.5), rgb(18, 109, 64).

Aa

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

About this color

#126D40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 47%, its chroma 0.109 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.045 away. White text reads best on it, at 6.38:1.

Hue familyGreens
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text3.28:1
White text6.38:1

Values

HEX#126D40
RGBrgb(18, 109, 64)
HSLhsl(150, 72%, 25%)
OKLCHoklch(47.3% 0.109 155.5)

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 #126D40 6.38:1 AA Lc -86.4 Fine for body text
Black text on #126D40 3.28:1 AA large text Lc 22.7 Dividers and decoration only
#126D40 text on white 6.38:1 AA Lc 81.3 Fine for body text
#126D40 text on black 3.28:1 AA large text Lc -20.5 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

    #CBDFD1

    oklch(88.5% 0.029 155.2)

  4. Step 300

    300

    #A6CBB2

    oklch(80.8% 0.053 155.5)

  5. Step 400

    400

    #75B18A

    oklch(70.8% 0.085 155.1)

  6. Step 500

    500

    #4C9D6D

    oklch(63.2% 0.108 155.5)

  7. Step 600

    600

    #2A8755

    oklch(55.6% 0.117 155.6)

  8. Step 700

    700 (this color)

    #126D40

    oklch(47.3% 0.109 155.5)

  9. Step 800

    800

    #1A5D39

    oklch(42.7% 0.09 155.6)

  10. Step 900

    900

    #1D4C31

    oklch(37.6% 0.07 155.6)

  11. Step 950

    950

    #122D1D

    oklch(27% 0.045 155.8)

Export this scale for Tailwind in the Tailwind colors tool

#126D40 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)#6C633D0.097
Deuteranopia (no green cones)#625C430.095
Tritanopia (no blue cones)#006C620.053
Achromatopsia (no color)#5F5F5F0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #126D40

    #126D40

    oklch(47.3% 0.109 155.5)

  • #804173

    #804173

    oklch(47.2% 0.109 335.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126D40

    #126D40

    oklch(47.3% 0.109 155.5)

  • #4D6614

    #4D6614

    oklch(47.4% 0.109 125.6)

  • #006A62

    #006A62

    oklch(47.2% 0.083 185.8)

Open the analogous palette in the generator

Split complementary

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

  • #126D40

    #126D40

    oklch(47.3% 0.109 155.5)

  • #6A4A8C

    #6A4A8C

    oklch(47.3% 0.108 305)

  • #8C3E53

    #8C3E53

    oklch(47.2% 0.108 5.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126D40

    #126D40

    oklch(47.3% 0.109 155.5)

  • #4B5498

    #4B5498

    oklch(47.2% 0.11 275.7)

  • #8E422E

    #8E422E

    oklch(47.3% 0.108 35.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126D40

    #126D40

    oklch(47.3% 0.109 155.5)

  • #176094

    #176094

    oklch(47.3% 0.108 245.3)

  • #804173

    #804173

    oklch(47.2% 0.109 335.5)

  • #834D00

    #834D00

    oklch(47.3% 0.106 65.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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