#126842

Closest named color: Spruce (#0A5F38). oklch(45.9% 0.1 158.3), rgb(18, 104, 66).

Aa

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

About this color

#126842 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.100 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.030 away. White text reads best on it, at 6.80:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text3.08:1
White text6.80:1

Values

HEX#126842
RGBrgb(18, 104, 66)
HSLhsl(153, 70%, 24%)
OKLCHoklch(45.9% 0.1 158.3)

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 #126842 6.80:1 AA Lc -88.1 Fine for body text
Black text on #126842 3.08:1 AA large text Lc 20.9 Dividers and decoration only
#126842 text on white 6.80:1 AA Lc 83.1 Fine for body text
#126842 text on black 3.08:1 AA large text Lc -18.8 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 800.

  1. Step 50

    50

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E1EDE6

    oklch(93.5% 0.016 160.6)

  3. Step 200

    200

    #C8E0D1

    oklch(88.5% 0.033 158.3)

  4. Step 300

    300

    #A2CDB3

    oklch(81% 0.058 158.3)

  5. Step 400

    400

    #6BB28B

    oklch(70.6% 0.092 158.8)

  6. Step 500

    500

    #3C9F6E

    oklch(63.1% 0.119 158.4)

  7. Step 600

    600

    #008956

    oklch(55.5% 0.129 158.6)

  8. Step 700

    700

    #007447

    oklch(49.2% 0.115 158)

  9. Step 800

    800 (this color)

    #126842

    oklch(45.9% 0.1 158.3)

  10. Step 900

    900

    #114E32

    oklch(37.8% 0.078 158.7)

  11. Step 950

    950

    #0D2E1D

    oklch(27.1% 0.05 157.8)

Export this scale for Tailwind in the Tailwind colors tool

#126842 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)#675F400.092
Deuteranopia (no green cones)#5D58450.090
Tritanopia (no blue cones)#00675E0.045
Achromatopsia (no color)#5B5B5B0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #126842

    #126842

    oklch(45.9% 0.1 158.3)

  • #7B406B

    #7B406B

    oklch(46% 0.1 338.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126842

    #126842

    oklch(45.9% 0.1 158.3)

  • #47621E

    #47621E

    oklch(45.9% 0.1 128.3)

  • #006660

    #006660

    oklch(46% 0.08 187.8)

Open the analogous palette in the generator

Split complementary

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

  • #126842

    #126842

    oklch(45.9% 0.1 158.3)

  • #674782

    #674782

    oklch(45.9% 0.099 307.9)

  • #853D4D

    #853D4D

    oklch(45.9% 0.1 7.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126842

    #126842

    oklch(45.9% 0.1 158.3)

  • #4C518E

    #4C518E

    oklch(46% 0.099 278.2)

  • #86412C

    #86412C

    oklch(45.9% 0.1 37.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126842

    #126842

    oklch(45.9% 0.1 158.3)

  • #225B8C

    #225B8C

    oklch(45.9% 0.099 248)

  • #7B406B

    #7B406B

    oklch(46% 0.1 338.2)

  • #7B4B02

    #7B4B02

    oklch(45.8% 0.099 68.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #126842 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.