#917A2F

Closest named color: Hazel (#8E7618). oklch(58.6% 0.098 92), rgb(145, 122, 47).

Aa

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

About this color

#917A2F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.098 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.018 away. Black text reads best on it, at 5.02:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text5.02:1
White text4.17:1

Values

HEX#917A2F
RGBrgb(145, 122, 47)
HSLhsl(46, 51%, 38%)
OKLCHoklch(58.6% 0.098 92)

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 #917A2F 4.17:1 AA large text Lc -74.2 Content text, not long reading
Black text on #917A2F 5.02:1 AA Lc 35.4 Non-text elements, placeholder text
#917A2F text on white 4.17:1 AA large text Lc 68.7 Content text, not long reading
#917A2F text on black 5.02:1 AA Lc -33.0 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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDEAE1

    oklch(93.7% 0.012 91.5)

  3. Step 200

    200

    #DFD9C7

    oklch(88.5% 0.025 91.6)

  4. Step 300

    300

    #CBC0A1

    oklch(80.9% 0.044 90.8)

  5. Step 400

    400

    #B0A06E

    oklch(70.8% 0.07 92.4)

  6. Step 500

    500

    #9D8846

    oklch(63.2% 0.089 92.1)

  7. Step 600

    600 (this color)

    #917A2F

    oklch(58.6% 0.098 92)

  8. Step 700

    700

    #735F17

    oklch(49.2% 0.091 92.6)

  9. Step 800

    800

    #5E4D16

    oklch(42.7% 0.075 91.3)

  10. Step 900

    900

    #4D4019

    oklch(37.6% 0.059 90.9)

  11. Step 950

    950

    #2D2610

    oklch(27.1% 0.037 92.1)

Export this scale for Tailwind in the Tailwind colors tool

#917A2F 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)#8778260.020
Deuteranopia (no green cones)#8D7F330.014
Tritanopia (no blue cones)#9D706A0.090
Achromatopsia (no color)#7C7C7C0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #917A2F

    #917A2F

    oklch(58.6% 0.098 92)

  • #6878B6

    #6878B6

    oklch(58.6% 0.097 272.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #917A2F

    #917A2F

    oklch(58.6% 0.098 92)

  • #A56E3A

    #A56E3A

    oklch(58.6% 0.098 62.3)

  • #728540

    #728540

    oklch(58.5% 0.097 122.2)

Open the analogous palette in the generator

Split complementary

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

  • #917A2F

    #917A2F

    oklch(58.6% 0.098 92)

  • #4283B1

    #4283B1

    oklch(58.7% 0.097 241.8)

  • #876EAC

    #876EAC

    oklch(58.7% 0.096 302.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #917A2F

    #917A2F

    oklch(58.6% 0.098 92)

  • #178B9E

    #178B9E

    oklch(58.6% 0.098 212.3)

  • #9E6696

    #9E6696

    oklch(58.7% 0.097 331.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #917A2F

    #917A2F

    oklch(58.6% 0.098 92)

  • #1F8F80

    #1F8F80

    oklch(58.7% 0.098 181.4)

  • #6878B6

    #6878B6

    oklch(58.6% 0.097 272.1)

  • #AC6278

    #AC6278

    oklch(58.6% 0.099 1.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #917A2F 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.