#126C1B

Closest named color: Dark Green (#006400). oklch(46.4% 0.141 144), rgb(18, 108, 27).

Aa

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

About this color

#126C1B is a medium-dark, vivid green. In OKLCH its lightness is 46%, its chroma 0.141 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.030 away. White text reads best on it, at 6.59:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromavivid (0.141)
Temperaturein between
Nearest nameDark Green (#006400)
Black text3.18:1
White text6.59:1

Values

HEX#126C1B
RGBrgb(18, 108, 27)
HSLhsl(126, 71%, 25%)
OKLCHoklch(46.4% 0.141 144)

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 #126C1B 6.59:1 AA Lc -87.2 Fine for body text
Black text on #126C1B 3.18:1 AA large text Lc 21.9 Dividers and decoration only
#126C1B text on white 6.59:1 AA Lc 82.1 Fine for body text
#126C1B text on black 3.18:1 AA large text Lc -19.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 700.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE2

    oklch(93.7% 0.02 145.4)

  3. Step 200

    200

    #CBE0CA

    oklch(88.5% 0.037 144)

  4. Step 300

    300

    #A7CDA5

    oklch(81% 0.069 143.6)

  5. Step 400

    400

    #75B274

    oklch(70.6% 0.109 144)

  6. Step 500

    500

    #4E9F4F

    oklch(63.2% 0.14 143.9)

  7. Step 600

    600

    #2D8932

    oklch(55.7% 0.151 144)

  8. Step 700

    700 (this color)

    #126C1B

    oklch(46.4% 0.141 144)

  9. Step 800

    800

    #1C5E20

    oklch(42.6% 0.115 144.1)

  10. Step 900

    900

    #1E4E1F

    oklch(37.8% 0.092 143.8)

  11. Step 950

    950

    #132D13

    oklch(26.8% 0.057 143.8)

Export this scale for Tailwind in the Tailwind colors tool

#126C1B 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)#6E610E0.102
Deuteranopia (no green cones)#655A230.104
Tritanopia (no blue cones)#00695C0.088
Achromatopsia (no color)#5D5D5D0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #126C1B

    #126C1B

    oklch(46.4% 0.141 144)

  • #7E3885

    #7E3885

    oklch(46.5% 0.141 323.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126C1B

    #126C1B

    oklch(46.4% 0.141 144)

  • #595F00

    #595F00

    oklch(46.4% 0.104 114)

  • #006955

    #006955

    oklch(46.4% 0.089 173.6)

Open the analogous palette in the generator

Split complementary

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

  • #126C1B

    #126C1B

    oklch(46.4% 0.141 144)

  • #5F449F

    #5F449F

    oklch(46.3% 0.142 293.8)

  • #912F5F

    #912F5F

    oklch(46.5% 0.14 353.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126C1B

    #126C1B

    oklch(46.4% 0.141 144)

  • #2F53A7

    #2F53A7

    oklch(46.3% 0.142 264.2)

  • #982F30

    #982F30

    oklch(46.4% 0.14 23.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126C1B

    #126C1B

    oklch(46.4% 0.141 144)

  • #006187

    #006187

    oklch(46.4% 0.097 234.1)

  • #7E3885

    #7E3885

    oklch(46.5% 0.141 323.9)

  • #894300

    #894300

    oklch(46.3% 0.116 54)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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