#7B7927

Closest named color: Hazel (#8E7618). oklch(56.1% 0.103 107.9), rgb(123, 121, 39).

Aa

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

About this color

#7B7927 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.103 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.030 away. Black text reads best on it, at 4.60:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.103)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.60:1
White text4.55:1

Values

HEX#7B7927
RGBrgb(123, 121, 39)
HSLhsl(59, 52%, 32%)
OKLCHoklch(56.1% 0.103 107.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 #7B7927 4.55:1 AA Lc -77.0 Fine for body text
Black text on #7B7927 4.60:1 AA Lc 32.5 Non-text elements, placeholder text
#7B7927 text on white 4.55:1 AA Lc 71.6 Content text, not long reading
#7B7927 text on black 4.60:1 AA Lc -30.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 600.

  1. Step 50

    50

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EAEBE1

    oklch(93.7% 0.013 111.3)

  3. Step 200

    200

    #DADBC8

    oklch(88.5% 0.026 109.4)

  4. Step 300

    300

    #C3C3A1

    oklch(80.8% 0.046 107.4)

  5. Step 400

    400

    #A5A46E

    oklch(70.6% 0.073 107.2)

  6. Step 500

    500

    #8F8E46

    oklch(63.2% 0.095 108.1)

  7. Step 600

    600 (this color)

    #7B7927

    oklch(56.1% 0.103 107.9)

  8. Step 700

    700

    #666417

    oklch(49% 0.095 107.9)

  9. Step 800

    800

    #535216

    oklch(42.7% 0.08 108.4)

  10. Step 900

    900

    #45441A

    oklch(37.8% 0.061 107.7)

  11. Step 950

    950

    #282810

    oklch(27% 0.039 108.8)

Export this scale for Tailwind in the Tailwind colors tool

#7B7927 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)#83741C0.017
Deuteranopia (no green cones)#85772C0.018
Tritanopia (no blue cones)#8471680.093
Achromatopsia (no color)#7676760.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B7927

    #7B7927

    oklch(56.1% 0.103 107.9)

  • #726AAE

    #726AAE

    oklch(56.1% 0.104 288)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B7927

    #7B7927

    oklch(56.1% 0.103 107.9)

  • #966C22

    #966C22

    oklch(56.1% 0.103 77.4)

  • #568346

    #568346

    oklch(56.2% 0.102 137.9)

Open the analogous palette in the generator

Split complementary

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

  • #7B7927

    #7B7927

    oklch(56.1% 0.103 107.9)

  • #4E76B1

    #4E76B1

    oklch(56.3% 0.103 258)

  • #8E619C

    #8E619C

    oklch(56.2% 0.102 317.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B7927

    #7B7927

    oklch(56.1% 0.103 107.9)

  • #1980A4

    #1980A4

    oklch(56.2% 0.103 227.8)

  • #A05B80

    #A05B80

    oklch(56.2% 0.102 347.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B7927

    #7B7927

    oklch(56.1% 0.103 107.9)

  • #008689

    #008689

    oklch(56.3% 0.096 197.6)

  • #726AAE

    #726AAE

    oklch(56.1% 0.104 288)

  • #A95A5E

    #A95A5E

    oklch(56.2% 0.103 17.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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