#798209

Closest named color: Olive (#808000). oklch(57.9% 0.128 114.6), rgb(121, 130, 9).

Aa

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

About this color

#798209 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.128 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive (#808000), ΔE 0.011 away. Black text reads best on it, at 5.00:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameOlive (#808000)
Black text5.00:1
White text4.19:1

Values

HEX#798209
RGBrgb(121, 130, 9)
HSLhsl(64, 87%, 27%)
OKLCHoklch(57.9% 0.128 114.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 #798209 4.19:1 AA large text Lc -74.2 Content text, not long reading
Black text on #798209 5.00:1 AA Lc 35.3 Non-text elements, placeholder text
#798209 text on white 4.19:1 AA large text Lc 68.7 Content text, not long reading
#798209 text on black 5.00:1 AA Lc -32.9 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9EBDF

    oklch(93.5% 0.016 114.4)

  3. Step 200

    200

    #D8DCC4

    oklch(88.5% 0.032 114.7)

  4. Step 300

    300

    #BFC59B

    oklch(80.8% 0.057 114.3)

  5. Step 400

    400

    #9FA763

    oklch(70.6% 0.091 114.2)

  6. Step 500

    500

    #889133

    oklch(63% 0.118 114.5)

  7. Step 600

    600 (this color)

    #798209

    oklch(57.9% 0.128 114.6)

  8. Step 700

    700

    #606700

    oklch(49.1% 0.111 114.3)

  9. Step 800

    800

    #4E5400

    oklch(42.6% 0.096 114.4)

  10. Step 900

    900

    #41460C

    oklch(37.7% 0.077 114.5)

  11. Step 950

    950

    #26290A

    oklch(27% 0.049 114.3)

Export this scale for Tailwind in the Tailwind colors tool

#798209 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)#8C7B000.033
Deuteranopia (no green cones)#8C7D190.034
Tritanopia (no blue cones)#827A6E0.113
Achromatopsia (no color)#7C7C7C0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #798209

    #798209

    oklch(57.9% 0.128 114.6)

  • #8069BE

    #8069BE

    oklch(58% 0.128 294.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798209

    #798209

    oklch(57.9% 0.128 114.6)

  • #9B7300

    #9B7300

    oklch(58% 0.119 84.2)

  • #438D47

    #438D47

    oklch(57.8% 0.127 144.7)

Open the analogous palette in the generator

Split complementary

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

  • #798209

    #798209

    oklch(57.9% 0.128 114.6)

  • #5477C6

    #5477C6

    oklch(58% 0.128 264.7)

  • #9F5DA4

    #9F5DA4

    oklch(57.9% 0.128 324.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798209

    #798209

    oklch(57.9% 0.128 114.6)

  • #0084B7

    #0084B7

    oklch(57.9% 0.122 234.6)

  • #B3567F

    #B3567F

    oklch(57.9% 0.129 354.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798209

    #798209

    oklch(57.9% 0.128 114.6)

  • #008B95

    #008B95

    oklch(58% 0.099 203.7)

  • #8069BE

    #8069BE

    oklch(58% 0.128 294.5)

  • #BA5853

    #BA5853

    oklch(58% 0.128 24.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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