#808D28

Closest named color: Dark Yellow Green (#728F02). oklch(61.3% 0.124 116.6), rgb(128, 141, 40).

Aa

Black text reads best on this color (5.75:1).

About this color

#808D28 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.124 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.029 away. Black text reads best on it, at 5.75:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text5.75:1
White text3.64:1

Values

HEX#808D28
RGBrgb(128, 141, 40)
HSLhsl(68, 56%, 35%)
OKLCHoklch(61.3% 0.124 116.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 #808D28 3.64:1 AA large text Lc -69.4 Content text, not long reading
Black text on #808D28 5.75:1 AA Lc 40.1 Non-text elements, placeholder text
#808D28 text on white 3.64:1 AA large text Lc 64.0 Content text, not long reading
#808D28 text on black 5.75:1 AA Lc -37.7 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9ECDF

    oklch(93.7% 0.018 117.3)

  3. Step 200

    200

    #D7DCC4

    oklch(88.4% 0.033 116.6)

  4. Step 300

    300

    #BEC69A

    oklch(80.9% 0.06 116.1)

  5. Step 400

    400

    #9DA860

    oklch(70.6% 0.097 116)

  6. Step 500

    500 (this color)

    #808D28

    oklch(61.3% 0.124 116.6)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4709

    oklch(37.8% 0.081 117.1)

  11. Step 950

    950

    #252909

    oklch(26.9% 0.05 115.9)

Export this scale for Tailwind in the Tailwind colors tool

#808D28 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)#9785170.037
Deuteranopia (no green cones)#9687300.039
Tritanopia (no blue cones)#8885790.107
Achromatopsia (no color)#8686860.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #808D28

    #808D28

    oklch(61.3% 0.124 116.6)

  • #8C73C5

    #8C73C5

    oklch(61.3% 0.123 296.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #808D28

    #808D28

    oklch(61.3% 0.124 116.6)

  • #A47E08

    #A47E08

    oklch(61.3% 0.124 86.9)

  • #4C9856

    #4C9856

    oklch(61.4% 0.124 146.7)

Open the analogous palette in the generator

Split complementary

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

  • #808D28

    #808D28

    oklch(61.3% 0.124 116.6)

  • #6281CE

    #6281CE

    oklch(61.4% 0.122 266.3)

  • #AA68AB

    #AA68AB

    oklch(61.3% 0.123 326.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #808D28

    #808D28

    oklch(61.3% 0.124 116.6)

  • #208EC4

    #208EC4

    oklch(61.3% 0.123 236.4)

  • #BD6286

    #BD6286

    oklch(61.3% 0.123 356.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #808D28

    #808D28

    oklch(61.3% 0.124 116.6)

  • #0095A4

    #0095A4

    oklch(61.2% 0.105 207.3)

  • #8C73C5

    #8C73C5

    oklch(61.3% 0.123 296.6)

  • #C3645B

    #C3645B

    oklch(61.3% 0.123 26.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #808D28 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.