#22540C

Closest named color: Forest (#0B5509). oklch(39.6% 0.114 138.4), rgb(34, 84, 12).

Aa

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

About this color

#22540C is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.114 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest (#0B5509), ΔE 0.015 away. White text reads best on it, at 8.96:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.34:1
White text8.96:1

Values

HEX#22540C
RGBrgb(34, 84, 12)
HSLhsl(102, 75%, 19%)
OKLCHoklch(39.6% 0.114 138.4)

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 #22540C 8.96:1 AAA Lc -94.7 Preferred for body text
Black text on #22540C 2.34:1 Fails Lc 13.7 Not readable
#22540C text on white 8.96:1 AAA Lc 90.3 Preferred for body text
#22540C text on black 2.34:1 Fails Lc -12.0 Not readable

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 900.

  1. Step 50

    50

    #F2F7F0

    oklch(97% 0.011 136.6)

  2. Step 100

    100

    #E2EEDE

    oklch(93.6% 0.025 137.8)

  3. Step 200

    200

    #CAE1C3

    oklch(88.5% 0.047 138.4)

  4. Step 300

    300

    #A5CE99

    oklch(80.8% 0.085 138.7)

  5. Step 400

    400

    #73B45E

    oklch(70.6% 0.136 138.5)

  6. Step 500

    500

    #4BA128

    oklch(63.2% 0.175 138.4)

  7. Step 600

    600

    #348900

    oklch(55.6% 0.173 138.4)

  8. Step 700

    700

    #2A7300

    oklch(49% 0.153 138.4)

  9. Step 800

    800

    #215F00

    oklch(42.8% 0.134 138.5)

  10. Step 900

    900 (this color)

    #22540C

    oklch(39.6% 0.114 138.4)

  11. Step 950

    950

    #122E07

    oklch(26.9% 0.072 138.2)

Export this scale for Tailwind in the Tailwind colors tool

#22540C 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)#574C000.073
Deuteranopia (no green cones)#5148140.074
Tritanopia (no blue cones)#1D51470.079
Achromatopsia (no color)#4949490.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #22540C

    #22540C

    oklch(39.6% 0.114 138.4)

  • #5F2F6D

    #5F2F6D

    oklch(39.6% 0.113 318.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22540C

    #22540C

    oklch(39.6% 0.114 138.4)

  • #4B4A00

    #4B4A00

    oklch(39.7% 0.086 108.9)

  • #00543F

    #00543F

    oklch(39.6% 0.08 168.8)

Open the analogous palette in the generator

Split complementary

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

  • #22540C

    #22540C

    oklch(39.6% 0.114 138.4)

  • #46397F

    #46397F

    oklch(39.6% 0.114 288.7)

  • #702751

    #702751

    oklch(39.5% 0.114 348)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22540C

    #22540C

    oklch(39.6% 0.114 138.4)

  • #1B4582

    #1B4582

    oklch(39.6% 0.113 258.1)

  • #78262E

    #78262E

    oklch(39.6% 0.114 18.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22540C

    #22540C

    oklch(39.6% 0.114 138.4)

  • #004E67

    #004E67

    oklch(39.6% 0.077 228)

  • #5F2F6D

    #5F2F6D

    oklch(39.6% 0.113 318.1)

  • #733000

    #733000

    oklch(39.6% 0.108 48)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22540C 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.