#28400B

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

Aa

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

About this color

#28400B 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#28400B
RGBrgb(40, 64, 11)
HSLhsl(87, 71%, 15%)
OKLCHoklch(34% 0.082 131.1)

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 #28400B 11.48:1 AAA Lc -100.0 Preferred for body text
Black text on #28400B 1.82:1 Fails Lc 7.6 Not readable
#28400B text on white 11.48:1 AAA Lc 96.3 Preferred for body text
#28400B 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

    #E6EDE0

    oklch(93.7% 0.019 130.2)

  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

    #8BAD6B

    oklch(70.6% 0.098 130.7)

  6. Step 500

    500

    #6E9942

    oklch(63.2% 0.126 131.1)

  7. Step 600

    600

    #55831D

    oklch(55.6% 0.138 131.3)

  8. Step 700

    700

    #466E0E

    oklch(49% 0.127 130.9)

  9. Step 800

    800

    #395A11

    oklch(42.7% 0.106 131.3)

  10. Step 900

    900 (this color)

    #28400B

    oklch(34% 0.082 131.1)

  11. Step 950

    950

    #1D2C0F

    oklch(27.1% 0.053 131.7)

Export this scale for Tailwind in the Tailwind colors tool

#28400B 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)#433B030.043
Deuteranopia (no green cones)#4039100.045
Tritanopia (no blue cones)#293D360.063
Achromatopsia (no color)#3939390.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #28400B

    #28400B

    oklch(34% 0.082 131.1)

  • #452A57

    #452A57

    oklch(34% 0.082 310.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28400B

    #28400B

    oklch(34% 0.082 131.1)

  • #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°).

  • #28400B

    #28400B

    oklch(34% 0.082 131.1)

  • #313161

    #313161

    oklch(33.9% 0.083 281.1)

  • #532444

    #532444

    oklch(33.8% 0.083 341.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28400B

    #28400B

    oklch(34% 0.082 131.1)

  • #103961

    #103961

    oklch(33.9% 0.083 251.3)

  • #5A232D

    #5A232D

    oklch(33.9% 0.081 11.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28400B

    #28400B

    oklch(34% 0.082 131.1)

  • #003F4E

    #003F4E

    oklch(34% 0.062 220)

  • #452A57

    #452A57

    oklch(34% 0.082 310.4)

  • #5A2612

    #5A2612

    oklch(33.9% 0.083 40.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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