#284D17

Closest named color: Navy Green (#35530A). oklch(37.9% 0.092 137.3), rgb(40, 77, 23).

Aa

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

About this color

#284D17 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.092 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.029 away. White text reads best on it, at 9.70:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.16:1
White text9.70:1

Values

HEX#284D17
RGBrgb(40, 77, 23)
HSLhsl(101, 54%, 20%)
OKLCHoklch(37.9% 0.092 137.3)

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 #284D17 9.70:1 AAA Lc -96.5 Preferred for body text
Black text on #284D17 2.16:1 Fails Lc 11.6 Not readable
#284D17 text on white 9.70:1 AAA Lc 92.3 Preferred for body text
#284D17 text on black 2.16:1 Fails Lc -10.1 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CDE0C7

    oklch(88.6% 0.039 138.2)

  4. Step 300

    300

    #ACCCA0

    oklch(81% 0.07 137.2)

  5. Step 400

    400

    #7FB16B

    oklch(70.8% 0.111 137.2)

  6. Step 500

    500

    #5D9D41

    oklch(63.2% 0.142 137.2)

  7. Step 600

    600

    #41871C

    oklch(55.7% 0.155 137.3)

  8. Step 700

    700

    #33720C

    oklch(49.1% 0.143 137.2)

  9. Step 800

    800

    #2B5D10

    oklch(42.7% 0.119 137.2)

  10. Step 900

    900 (this color)

    #284D17

    oklch(37.9% 0.092 137.3)

  11. Step 950

    950

    #182D0F

    oklch(27.1% 0.058 137.2)

Export this scale for Tailwind in the Tailwind colors tool

#284D17 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)#5046100.060
Deuteranopia (no green cones)#4B431B0.060
Tritanopia (no blue cones)#264A420.065
Achromatopsia (no color)#4444440.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #284D17

    #284D17

    oklch(37.9% 0.092 137.3)

  • #563062

    #563062

    oklch(37.9% 0.093 317.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284D17

    #284D17

    oklch(37.9% 0.092 137.3)

  • #474500

    #474500

    oklch(38% 0.082 107.9)

  • #004F3A

    #004F3A

    oklch(38% 0.077 167.7)

Open the analogous palette in the generator

Split complementary

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

  • #284D17

    #284D17

    oklch(37.9% 0.092 137.3)

  • #403970

    #403970

    oklch(38% 0.091 287)

  • #642B4B

    #642B4B

    oklch(37.9% 0.092 347.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284D17

    #284D17

    oklch(37.9% 0.092 137.3)

  • #1F4272

    #1F4272

    oklch(37.9% 0.092 256.9)

  • #6B2A30

    #6B2A30

    oklch(38% 0.093 17.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284D17

    #284D17

    oklch(37.9% 0.092 137.3)

  • #004960

    #004960

    oklch(37.8% 0.073 227.3)

  • #563062

    #563062

    oklch(37.9% 0.093 317.6)

  • #68300E

    #68300E

    oklch(37.9% 0.092 47.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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