#284C20

Closest named color: Pine Green (#0A481E). oklch(37.8% 0.082 140), rgb(40, 76, 32).

Aa

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

About this color

#284C20 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.082 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.030 away. White text reads best on it, at 9.79:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text2.14:1
White text9.79:1

Values

HEX#284C20
RGBrgb(40, 76, 32)
HSLhsl(109, 41%, 21%)
OKLCHoklch(37.8% 0.082 140)

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 #284C20 9.79:1 AAA Lc -96.7 Preferred for body text
Black text on #284C20 2.14:1 Fails Lc 11.4 Not readable
#284C20 text on white 9.79:1 AAA Lc 92.6 Preferred for body text
#284C20 text on black 2.14:1 Fails Lc -9.9 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CEDFCA

    oklch(88.5% 0.034 139.7)

  4. Step 300

    300

    #ACCBA5

    oklch(80.9% 0.062 139.9)

  5. Step 400

    400

    #7FB075

    oklch(70.7% 0.099 140.3)

  6. Step 500

    500

    #5E9C50

    oklch(63.2% 0.126 139.9)

  7. Step 600

    600

    #428633

    oklch(55.6% 0.137 140.2)

  8. Step 700

    700

    #347125

    oklch(49.1% 0.126 139.9)

  9. Step 800

    800

    #2C5C20

    oklch(42.6% 0.105 139.8)

  10. Step 900

    900 (this color)

    #284C20

    oklch(37.8% 0.082 140)

  11. Step 950

    950

    #182D13

    oklch(27.2% 0.053 139.7)

Export this scale for Tailwind in the Tailwind colors tool

#284C20 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)#4E461C0.056
Deuteranopia (no green cones)#4942230.057
Tritanopia (no blue cones)#254A420.054
Achromatopsia (no color)#4444440.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #284C20

    #284C20

    oklch(37.8% 0.082 140)

  • #55325C

    #55325C

    oklch(37.8% 0.082 320.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284C20

    #284C20

    oklch(37.8% 0.082 140)

  • #454501

    #454501

    oklch(37.8% 0.082 109.7)

  • #004E3C

    #004E3C

    oklch(37.7% 0.074 170.6)

Open the analogous palette in the generator

Split complementary

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

  • #284C20

    #284C20

    oklch(37.8% 0.082 140)

  • #42396A

    #42396A

    oklch(37.8% 0.082 290.4)

  • #612E48

    #612E48

    oklch(37.8% 0.081 349.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284C20

    #284C20

    oklch(37.8% 0.082 140)

  • #27416D

    #27416D

    oklch(37.8% 0.082 260.3)

  • #662E2F

    #662E2F

    oklch(37.8% 0.081 20.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284C20

    #284C20

    oklch(37.8% 0.082 140)

  • #004862

    #004862

    oklch(37.7% 0.076 230.8)

  • #55325C

    #55325C

    oklch(37.8% 0.082 320.8)

  • #633314

    #633314

    oklch(37.7% 0.081 50.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #284C20 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.