#284012

Closest named color: Dark Olive (#373E02). oklch(34% 0.077 132.6), rgb(40, 64, 18).

Aa

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

About this color

#284012 is a dark, moderately saturated green. In OKLCH its lightness is 34%, its chroma 0.077 and its hue 133°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.022 away. White text reads best on it, at 11.46:1.

Hue familyGreens
Lightnessdark (34%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameDark Olive (#373E02)
Black text1.83:1
White text11.46:1

Values

HEX#284012
RGBrgb(40, 64, 18)
HSLhsl(91, 56%, 16%)
OKLCHoklch(34% 0.077 132.6)

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 #284012 11.46:1 AAA Lc -100.0 Preferred for body text
Black text on #284012 1.83:1 Fails Lc 7.6 Not readable
#284012 text on white 11.46:1 AAA Lc 96.3 Preferred for body text
#284012 text on black 1.83:1 Fails Lc 0.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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E6ECE1

    oklch(93.5% 0.016 130.4)

  3. Step 200

    200

    #D1DEC9

    oklch(88.5% 0.032 133.3)

  4. Step 300

    300

    #B3C9A3

    oklch(80.9% 0.057 132.2)

  5. Step 400

    400

    #8BAD71

    oklch(70.7% 0.091 132.4)

  6. Step 500

    500

    #6D984A

    oklch(63% 0.118 132.7)

  7. Step 600

    600

    #55822B

    oklch(55.5% 0.127 132.6)

  8. Step 700

    700

    #456E1D

    oklch(49% 0.119 132.6)

  9. Step 800

    800

    #395A1B

    oklch(42.7% 0.099 132.8)

  10. Step 900

    900 (this color)

    #284012

    oklch(34% 0.077 132.6)

  11. Step 950

    950

    #1D2B11

    oklch(26.9% 0.048 132.2)

Export this scale for Tailwind in the Tailwind colors tool

#284012 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)#433B0C0.043
Deuteranopia (no green cones)#4039160.045
Tritanopia (no blue cones)#283D360.057
Achromatopsia (no color)#3A3A3A0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #284012

    #284012

    oklch(34% 0.077 132.6)

  • #452B54

    #452B54

    oklch(34% 0.076 312.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284012

    #284012

    oklch(34% 0.077 132.6)

  • #3F3900

    #3F3900

    oklch(34% 0.071 102.9)

  • #00442C

    #00442C

    oklch(34.2% 0.075 161.9)

Open the analogous palette in the generator

Split complementary

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

  • #284012

    #284012

    oklch(34% 0.077 132.6)

  • #33325E

    #33325E

    oklch(34.1% 0.076 282.6)

  • #522643

    #522643

    oklch(34% 0.077 341.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284012

    #284012

    oklch(34% 0.077 132.6)

  • #17395E

    #17395E

    oklch(34% 0.076 252.7)

  • #59252D

    #59252D

    oklch(34.1% 0.077 12.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284012

    #284012

    oklch(34% 0.077 132.6)

  • #003F50

    #003F50

    oklch(34.1% 0.063 222.9)

  • #452B54

    #452B54

    oklch(34% 0.076 312.1)

  • #582914

    #582914

    oklch(34.1% 0.077 43.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #284012 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.