#7D7512

Closest named color: Hazel (#8E7618). oklch(55.3% 0.111 104.4), rgb(125, 117, 18).

Aa

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

About this color

#7D7512 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 55%, its chroma 0.111 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.029 away. White text reads best on it, at 4.74:1.

Hue familyYellows
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.111)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.42:1
White text4.74:1

Values

HEX#7D7512
RGBrgb(125, 117, 18)
HSLhsl(56, 75%, 28%)
OKLCHoklch(55.3% 0.111 104.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 #7D7512 4.74:1 AA Lc -78.3 Fine for body text
Black text on #7D7512 4.42:1 AA large text Lc 31.3 Non-text elements, placeholder text
#7D7512 text on white 4.74:1 AA Lc 72.8 Content text, not long reading
#7D7512 text on black 4.42:1 AA large text Lc -28.9 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEBE0

    oklch(93.7% 0.015 106.7)

  3. Step 200

    200

    #DCDAC6

    oklch(88.5% 0.027 102.3)

  4. Step 300

    300

    #C5C39E

    oklch(80.9% 0.05 104.9)

  5. Step 400

    400

    #A8A468

    oklch(70.8% 0.08 105)

  6. Step 500

    500

    #938D3C

    oklch(63.2% 0.103 105)

  7. Step 600

    600 (this color)

    #7D7512

    oklch(55.3% 0.111 104.4)

  8. Step 700

    700

    #6A6301

    oklch(49.1% 0.104 104.7)

  9. Step 800

    800

    #57510A

    oklch(42.8% 0.086 104.2)

  10. Step 900

    900

    #474313

    oklch(37.6% 0.067 104.5)

  11. Step 950

    950

    #2A270D

    oklch(26.9% 0.042 102.8)

Export this scale for Tailwind in the Tailwind colors tool

#7D7512 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)#8071000.011
Deuteranopia (no green cones)#83751B0.012
Tritanopia (no blue cones)#876C630.101
Achromatopsia (no color)#7373730.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D7512

    #7D7512

    oklch(55.3% 0.111 104.4)

  • #6C68B1

    #6C68B1

    oklch(55.4% 0.112 284.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D7512

    #7D7512

    oklch(55.3% 0.111 104.4)

  • #986712

    #986712

    oklch(55.2% 0.111 74.4)

  • #56803A

    #56803A

    oklch(55.2% 0.11 134.3)

Open the analogous palette in the generator

Split complementary

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

  • #7D7512

    #7D7512

    oklch(55.3% 0.111 104.4)

  • #4174B2

    #4174B2

    oklch(55.2% 0.112 254.4)

  • #8A5D9F

    #8A5D9F

    oklch(55.2% 0.111 314.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D7512

    #7D7512

    oklch(55.3% 0.111 104.4)

  • #007E9F

    #007E9F

    oklch(55.1% 0.104 224.5)

  • #9F5682

    #9F5682

    oklch(55.3% 0.111 344.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D7512

    #7D7512

    oklch(55.3% 0.111 104.4)

  • #008383

    #008383

    oklch(55.2% 0.094 194.8)

  • #6C68B1

    #6C68B1

    oklch(55.4% 0.112 284.6)

  • #A9545E

    #A9545E

    oklch(55.2% 0.112 14.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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