#126B28

Closest named color: Dark Green (#006400). oklch(46.3% 0.129 146.8), rgb(18, 107, 40).

Aa

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

About this color

#126B28 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.129 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.034 away. White text reads best on it, at 6.64:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameDark Green (#006400)
Black text3.15:1
White text6.64:1

Values

HEX#126B28
RGBrgb(18, 107, 40)
HSLhsl(135, 71%, 25%)
OKLCHoklch(46.3% 0.129 146.8)

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 #126B28 6.64:1 AA Lc -87.4 Fine for body text
Black text on #126B28 3.15:1 AA large text Lc 21.7 Dividers and decoration only
#126B28 text on white 6.64:1 AA Lc 82.4 Fine for body text
#126B28 text on black 3.15:1 AA large text Lc -19.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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EDE3

    oklch(93.5% 0.018 148.1)

  3. Step 200

    200

    #CBE0CC

    oklch(88.6% 0.035 146.6)

  4. Step 300

    300

    #A7CCA9

    oklch(80.9% 0.063 146.4)

  5. Step 400

    400

    #76B27B

    oklch(70.8% 0.101 146.4)

  6. Step 500

    500

    #4E9E59

    oklch(63.1% 0.129 146.8)

  7. Step 600

    600

    #2D883E

    oklch(55.5% 0.139 146.7)

  8. Step 700

    700 (this color)

    #126B28

    oklch(46.3% 0.129 146.8)

  9. Step 800

    800

    #1C5E29

    oklch(42.7% 0.107 147)

  10. Step 900

    900

    #1E4D26

    oklch(37.7% 0.083 147.2)

  11. Step 950

    950

    #132D16

    oklch(26.9% 0.053 146.4)

Export this scale for Tailwind in the Tailwind colors tool

#126B28 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)#6C61210.099
Deuteranopia (no green cones)#635A2E0.100
Tritanopia (no blue cones)#00685C0.077
Achromatopsia (no color)#5C5C5C0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #126B28

    #126B28

    oklch(46.3% 0.129 146.8)

  • #7D3A7E

    #7D3A7E

    oklch(46.3% 0.13 326.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126B28

    #126B28

    oklch(46.3% 0.129 146.8)

  • #556000

    #556000

    oklch(46.3% 0.107 117.2)

  • #006858

    #006858

    oklch(46.3% 0.086 177.2)

Open the analogous palette in the generator

Split complementary

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

  • #126B28

    #126B28

    oklch(46.3% 0.129 146.8)

  • #614597

    #614597

    oklch(46.1% 0.13 296.8)

  • #8E335A

    #8E335A

    oklch(46.3% 0.129 356.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126B28

    #126B28

    oklch(46.3% 0.129 146.8)

  • #3853A0

    #3853A0

    oklch(46.3% 0.129 266.8)

  • #94352F

    #94352F

    oklch(46.4% 0.129 26.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126B28

    #126B28

    oklch(46.3% 0.129 146.8)

  • #00608A

    #00608A

    oklch(46.3% 0.101 237)

  • #7D3A7E

    #7D3A7E

    oklch(46.3% 0.13 326.9)

  • #864500

    #864500

    oklch(46.2% 0.112 56.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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