#817500

Closest named color: Hazel (#8E7618). oklch(55.6% 0.117 102.3), rgb(129, 117, 0).

Aa

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

About this color

#817500 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.117 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.025 away. White text reads best on it, at 4.68:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.117)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.47:1
White text4.68:1

Values

HEX#817500
RGBrgb(129, 117, 0)
HSLhsl(54, 100%, 25%)
OKLCHoklch(55.6% 0.117 102.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 #817500 4.68:1 AA Lc -77.8 Fine for body text
Black text on #817500 4.47:1 AA large text Lc 31.7 Non-text elements, placeholder text
#817500 text on white 4.68:1 AA Lc 72.4 Content text, not long reading
#817500 text on black 4.47:1 AA large text Lc -29.3 Dividers and decoration only

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

    #EBEADF

    oklch(93.5% 0.015 102.5)

  3. Step 200

    200

    #DCDAC5

    oklch(88.4% 0.028 102.5)

  4. Step 300

    300

    #C7C29C

    oklch(80.8% 0.051 101.2)

  5. Step 400

    400

    #ABA364

    oklch(70.8% 0.084 102)

  6. Step 500

    500

    #968C36

    oklch(63.2% 0.107 102.7)

  7. Step 600

    600 (this color)

    #817500

    oklch(55.6% 0.117 102.3)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #595000

    oklch(42.7% 0.089 102)

  10. Step 900

    900

    #49430E

    oklch(37.8% 0.071 102.7)

  11. Step 950

    950

    #2B270B

    oklch(27% 0.044 101.2)

Export this scale for Tailwind in the Tailwind colors tool

#817500 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)#8171000.011
Deuteranopia (no green cones)#8576100.009
Tritanopia (no blue cones)#8C6B630.108
Achromatopsia (no color)#7474740.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #817500

    #817500

    oklch(55.6% 0.117 102.3)

  • #6A69B5

    #6A69B5

    oklch(55.6% 0.116 282.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817500

    #817500

    oklch(55.6% 0.117 102.3)

  • #9C6608

    #9C6608

    oklch(55.5% 0.116 72.3)

  • #588134

    #588134

    oklch(55.5% 0.116 132.5)

Open the analogous palette in the generator

Split complementary

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

  • #817500

    #817500

    oklch(55.6% 0.117 102.3)

  • #3B76B5

    #3B76B5

    oklch(55.6% 0.116 252)

  • #8A5DA4

    #8A5DA4

    oklch(55.5% 0.117 312.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817500

    #817500

    oklch(55.6% 0.117 102.3)

  • #00809E

    #00809E

    oklch(55.6% 0.103 221.9)

  • #A15586

    #A15586

    oklch(55.6% 0.117 342.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817500

    #817500

    oklch(55.6% 0.117 102.3)

  • #008582

    #008582

    oklch(55.7% 0.096 192)

  • #6A69B5

    #6A69B5

    oklch(55.6% 0.116 282.5)

  • #AC5361

    #AC5361

    oklch(55.6% 0.117 11.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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