#28400C

Closest named color: Dark Olive (#373E02). oklch(34% 0.082 131.3), rgb(40, 64, 12).

Aa

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

About this color

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

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

Values

HEX#28400C
RGBrgb(40, 64, 12)
HSLhsl(88, 68%, 15%)
OKLCHoklch(34% 0.082 131.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 #28400C 11.48:1 AAA Lc -100.0 Preferred for body text
Black text on #28400C 1.82:1 Fails Lc 7.6 Not readable
#28400C text on white 11.48:1 AAA Lc 96.3 Preferred for body text
#28400C text on black 1.82: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

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D1DEC7

    oklch(88.4% 0.034 131.4)

  4. Step 300

    300

    #B3C9A0

    oklch(80.8% 0.061 130.7)

  5. Step 400

    400

    #8BAD6C

    oklch(70.6% 0.097 131)

  6. Step 500

    500

    #6E9943

    oklch(63.2% 0.125 131.3)

  7. Step 600

    600

    #55831F

    oklch(55.7% 0.137 131.5)

  8. Step 700

    700

    #466E10

    oklch(49% 0.126 131)

  9. Step 800

    800

    #395A12

    oklch(42.7% 0.105 131.4)

  10. Step 900

    900 (this color)

    #28400C

    oklch(34% 0.082 131.3)

  11. Step 950

    950

    #1D2B0F

    oklch(26.8% 0.051 131.1)

Export this scale for Tailwind in the Tailwind colors tool

#28400C 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)#433B040.043
Deuteranopia (no green cones)#4039110.045
Tritanopia (no blue cones)#293D360.063
Achromatopsia (no color)#3939390.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #28400C

    #28400C

    oklch(34% 0.082 131.3)

  • #452A56

    #452A56

    oklch(33.9% 0.081 311.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28400C

    #28400C

    oklch(34% 0.082 131.3)

  • #403800

    #403800

    oklch(33.9% 0.071 100.4)

  • #00432B

    #00432B

    oklch(33.8% 0.075 161.6)

Open the analogous palette in the generator

Split complementary

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

  • #28400C

    #28400C

    oklch(34% 0.082 131.3)

  • #313161

    #313161

    oklch(33.9% 0.083 281.1)

  • #532544

    #532544

    oklch(34% 0.081 341.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28400C

    #28400C

    oklch(34% 0.082 131.3)

  • #113960

    #113960

    oklch(33.9% 0.082 251.2)

  • #5A232D

    #5A232D

    oklch(33.9% 0.081 11.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28400C

    #28400C

    oklch(34% 0.082 131.3)

  • #003F4F

    #003F4F

    oklch(34.1% 0.063 221.5)

  • #452A56

    #452A56

    oklch(33.9% 0.081 311.1)

  • #5A2712

    #5A2712

    oklch(34% 0.082 41.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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