#9D790F

Closest named color: Bronze (#A87900). oklch(59.5% 0.118 86.9), rgb(157, 121, 15).

Aa

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

About this color

#9D790F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 60%, its chroma 0.118 and its hue 87°. Its hue sits on the warm side of the wheel. The nearest named color is Bronze (#A87900), ΔE 0.019 away. Black text reads best on it, at 5.17:1.

Hue familyBrowns
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.118)
Temperaturewarm
Nearest nameBronze (#A87900)
Black text5.17:1
White text4.05:1

Values

HEX#9D790F
RGBrgb(157, 121, 15)
HSLhsl(45, 83%, 34%)
OKLCHoklch(59.5% 0.118 86.9)

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 #9D790F 4.05:1 AA large text Lc -73.1 Content text, not long reading
Black text on #9D790F 5.17:1 AA Lc 36.5 Non-text elements, placeholder text
#9D790F text on white 4.05:1 AA large text Lc 67.6 Content text, not long reading
#9D790F text on black 5.17:1 AA Lc -34.1 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

    #F8F5F0

    oklch(97.1% 0.007 80.7)

  2. Step 100

    100

    #EFE9DE

    oklch(93.6% 0.016 82.8)

  3. Step 200

    200

    #E2D8C2

    oklch(88.4% 0.031 86.5)

  4. Step 300

    300

    #D1BF96

    oklch(80.9% 0.058 87.1)

  5. Step 400

    400

    #B99D5A

    oklch(70.7% 0.092 87.3)

  6. Step 500

    500 (this color)

    #9D790F

    oklch(59.5% 0.118 86.9)

  7. Step 600

    600

    #906E00

    oklch(55.7% 0.114 87.1)

  8. Step 700

    700

    #795C00

    oklch(49.1% 0.1 87.1)

  9. Step 800

    800

    #644B00

    oklch(42.8% 0.087 86.6)

  10. Step 900

    900

    #533E00

    oklch(37.6% 0.077 86.9)

  11. Step 950

    950

    #312506

    oklch(27.2% 0.049 87.1)

Export this scale for Tailwind in the Tailwind colors tool

#9D790F 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)#8978000.035
Deuteranopia (no green cones)#9282180.028
Tritanopia (no blue cones)#AB6D670.106
Achromatopsia (no color)#7E7E7E0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D790F

    #9D790F

    oklch(59.5% 0.118 86.9)

  • #5F7BC5

    #5F7BC5

    oklch(59.5% 0.118 267.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D790F

    #9D790F

    oklch(59.5% 0.118 86.9)

  • #B36A2F

    #B36A2F

    oklch(59.5% 0.118 56.4)

  • #7A8729

    #7A8729

    oklch(59.4% 0.118 116.9)

Open the analogous palette in the generator

Split complementary

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

  • #9D790F

    #9D790F

    oklch(59.5% 0.118 86.9)

  • #2388BC

    #2388BC

    oklch(59.5% 0.118 237)

  • #866EBC

    #866EBC

    oklch(59.4% 0.118 296.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D790F

    #9D790F

    oklch(59.5% 0.118 86.9)

  • #008F9D

    #008F9D

    oklch(59.4% 0.102 206.9)

  • #A364A3

    #A364A3

    oklch(59.5% 0.117 326.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D790F

    #9D790F

    oklch(59.5% 0.118 86.9)

  • #00947D

    #00947D

    oklch(59.6% 0.111 176.5)

  • #5F7BC5

    #5F7BC5

    oklch(59.5% 0.118 267.1)

  • #B55E80

    #B55E80

    oklch(59.4% 0.119 356.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9D790F 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.