#226E1B

Closest named color: Dark Green (#006400). oklch(47.4% 0.138 141.9), rgb(34, 110, 27).

Aa

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

About this color

#226E1B is a medium-dark, moderately saturated green. In OKLCH its lightness is 47%, its chroma 0.138 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.040 away. White text reads best on it, at 6.33:1.

Hue familyGreens
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameDark Green (#006400)
Black text3.31:1
White text6.33:1

Values

HEX#226E1B
RGBrgb(34, 110, 27)
HSLhsl(115, 61%, 27%)
OKLCHoklch(47.4% 0.138 141.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 #226E1B 6.33:1 AA Lc -86.3 Fine for body text
Black text on #226E1B 3.31:1 AA large text Lc 22.9 Dividers and decoration only
#226E1B text on white 6.33:1 AA Lc 81.1 Fine for body text
#226E1B text on black 3.31:1 AA large text Lc -20.7 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EDE1

    oklch(93.5% 0.019 140.5)

  3. Step 200

    200

    #CCE0C9

    oklch(88.5% 0.038 141.6)

  4. Step 300

    300

    #A9CCA4

    oklch(80.9% 0.067 141.6)

  5. Step 400

    400

    #79B273

    oklch(70.8% 0.108 142.1)

  6. Step 500

    500

    #559E4D

    oklch(63.2% 0.137 141.8)

  7. Step 600

    600

    #36882F

    oklch(55.6% 0.148 142)

  8. Step 700

    700 (this color)

    #226E1B

    oklch(47.4% 0.138 141.9)

  9. Step 800

    800

    #235E1D

    oklch(42.8% 0.115 141.8)

  10. Step 900

    900

    #224D1E

    oklch(37.7% 0.089 142)

  11. Step 950

    950

    #152D12

    oklch(26.9% 0.056 141.6)

Export this scale for Tailwind in the Tailwind colors tool

#226E1B 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)#71630D0.097
Deuteranopia (no green cones)#685D230.097
Tritanopia (no blue cones)#126A5E0.091
Achromatopsia (no color)#6060600.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #226E1B

    #226E1B

    oklch(47.4% 0.138 141.9)

  • #7F3C89

    #7F3C89

    oklch(47.4% 0.139 322.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #226E1B

    #226E1B

    oklch(47.4% 0.138 141.9)

  • #5E6100

    #5E6100

    oklch(47.4% 0.105 111.9)

  • #006C56

    #006C56

    oklch(47.3% 0.092 172.2)

Open the analogous palette in the generator

Split complementary

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

  • #226E1B

    #226E1B

    oklch(47.4% 0.138 141.9)

  • #5F49A2

    #5F49A2

    oklch(47.4% 0.138 291.6)

  • #933364

    #933364

    oklch(47.4% 0.139 352.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #226E1B

    #226E1B

    oklch(47.4% 0.138 141.9)

  • #2E58A8

    #2E58A8

    oklch(47.5% 0.137 261.8)

  • #9B3337

    #9B3337

    oklch(47.5% 0.138 22)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #226E1B

    #226E1B

    oklch(47.4% 0.138 141.9)

  • #006489

    #006489

    oklch(47.3% 0.097 232.7)

  • #7F3C89

    #7F3C89

    oklch(47.4% 0.139 322.3)

  • #8F4400

    #8F4400

    oklch(47.4% 0.121 52.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #226E1B 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.