#917E45

Closest named color: Drab (#828344). oklch(59.8% 0.08 91.4), rgb(145, 126, 69).

Aa

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

About this color

#917E45 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.080 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.027 away. Black text reads best on it, at 5.27:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.27:1
White text3.98:1

Values

HEX#917E45
RGBrgb(145, 126, 69)
HSLhsl(45, 36%, 42%)
OKLCHoklch(59.8% 0.08 91.4)

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 #917E45 3.98:1 AA large text Lc -72.6 Content text, not long reading
Black text on #917E45 5.27:1 AA Lc 37.0 Non-text elements, placeholder text
#917E45 text on white 3.98:1 AA large text Lc 67.1 Content text, not long reading
#917E45 text on black 5.27:1 AA Lc -34.6 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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DED9C9

    oklch(88.5% 0.022 92.5)

  4. Step 300

    300

    #CAC0A5

    oklch(80.9% 0.038 90.1)

  5. Step 400

    400

    #AFA074

    oklch(70.8% 0.062 91.5)

  6. Step 500

    500 (this color)

    #917E45

    oklch(59.8% 0.08 91.4)

  7. Step 600

    600

    #867132

    oklch(55.5% 0.086 90.9)

  8. Step 700

    700

    #725F24

    oklch(49.2% 0.081 91.2)

  9. Step 800

    800

    #5C4E20

    oklch(42.8% 0.067 92.5)

  10. Step 900

    900

    #4C411F

    oklch(37.8% 0.053 91.8)

  11. Step 950

    950

    #2C2613

    oklch(27% 0.033 92.5)

Export this scale for Tailwind in the Tailwind colors tool

#917E45 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)#897C400.016
Deuteranopia (no green cones)#8E82470.011
Tritanopia (no blue cones)#9B76710.073
Achromatopsia (no color)#7F7F7F0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #917E45

    #917E45

    oklch(59.8% 0.08 91.4)

  • #6E7DB0

    #6E7DB0

    oklch(59.8% 0.08 271.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #917E45

    #917E45

    oklch(59.8% 0.08 91.4)

  • #A2744D

    #A2744D

    oklch(59.7% 0.079 60.7)

  • #788750

    #788750

    oklch(59.8% 0.079 121.3)

Open the analogous palette in the generator

Split complementary

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

  • #917E45

    #917E45

    oklch(59.8% 0.08 91.4)

  • #5286AB

    #5286AB

    oklch(59.9% 0.08 240.8)

  • #8874A8

    #8874A8

    oklch(59.7% 0.081 301.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #917E45

    #917E45

    oklch(59.8% 0.08 91.4)

  • #3D8C9B

    #3D8C9B

    oklch(59.7% 0.08 212)

  • #9C6E95

    #9C6E95

    oklch(59.8% 0.08 331.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #917E45

    #917E45

    oklch(59.8% 0.08 91.4)

  • #418F83

    #418F83

    oklch(59.7% 0.079 182.1)

  • #6E7DB0

    #6E7DB0

    oklch(59.8% 0.08 271.2)

  • #A76B7C

    #A76B7C

    oklch(59.7% 0.079 1.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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