#807902

Closest named color: Olive (#808000). oklch(56.4% 0.12 105.6), rgb(128, 121, 2).

Aa

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

About this color

#807902 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.120 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Olive (#808000), ΔE 0.020 away. Black text reads best on it, at 4.65:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameOlive (#808000)
Black text4.65:1
White text4.51:1

Values

HEX#807902
RGBrgb(128, 121, 2)
HSLhsl(57, 97%, 25%)
OKLCHoklch(56.4% 0.12 105.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 #807902 4.51:1 AA Lc -76.6 Fine for body text
Black text on #807902 4.65:1 AA Lc 32.9 Non-text elements, placeholder text
#807902 text on white 4.51:1 AA Lc 71.2 Content text, not long reading
#807902 text on black 4.65:1 AA Lc -30.5 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 600.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DBDBC4

    oklch(88.5% 0.031 107)

  4. Step 300

    300

    #C5C39B

    oklch(80.9% 0.054 105.2)

  5. Step 400

    400

    #A8A463

    oklch(70.7% 0.086 105.3)

  6. Step 500

    500

    #938D34

    oklch(63.1% 0.11 105.5)

  7. Step 600

    600 (this color)

    #807902

    oklch(56.4% 0.12 105.6)

  8. Step 700

    700

    #696300

    oklch(49% 0.104 105.5)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #47430E

    oklch(37.6% 0.071 105)

  11. Step 950

    950

    #2A280A

    oklch(27.2% 0.046 105.5)

Export this scale for Tailwind in the Tailwind colors tool

#807902 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)#8574000.015
Deuteranopia (no green cones)#8778120.014
Tritanopia (no blue cones)#8B70660.109
Achromatopsia (no color)#7676760.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #807902

    #807902

    oklch(56.4% 0.12 105.6)

  • #706AB8

    #706AB8

    oklch(56.5% 0.118 285.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #807902

    #807902

    oklch(56.4% 0.12 105.6)

  • #9D6A00

    #9D6A00

    oklch(56.4% 0.119 75.8)

  • #558539

    #558539

    oklch(56.4% 0.119 135.4)

Open the analogous palette in the generator

Split complementary

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

  • #807902

    #807902

    oklch(56.4% 0.12 105.6)

  • #4277BA

    #4277BA

    oklch(56.4% 0.119 255.2)

  • #905EA5

    #905EA5

    oklch(56.4% 0.119 315.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #807902

    #807902

    oklch(56.4% 0.12 105.6)

  • #0082A5

    #0082A5

    oklch(56.4% 0.107 225.2)

  • #A65685

    #A65685

    oklch(56.4% 0.12 345.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #807902

    #807902

    oklch(56.4% 0.12 105.6)

  • #008788

    #008788

    oklch(56.5% 0.096 195.7)

  • #706AB8

    #706AB8

    oklch(56.5% 0.118 285.5)

  • #B1555E

    #B1555E

    oklch(56.5% 0.12 15.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #807902.

Similar named colors

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

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