#7B7902

Closest named color: Murky Green (#6C7A0E). oklch(56% 0.12 108.6), rgb(123, 121, 2).

Aa

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

About this color

#7B7902 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.120 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Murky Green (#6C7A0E), ΔE 0.022 away. White text reads best on it, at 4.58:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameMurky Green (#6C7A0E)
Black text4.57:1
White text4.58:1

Values

HEX#7B7902
RGBrgb(123, 121, 2)
HSLhsl(59, 97%, 25%)
OKLCHoklch(56% 0.12 108.6)

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 #7B7902 4.58:1 AA Lc -77.2 Fine for body text
Black text on #7B7902 4.57:1 AA Lc 32.4 Non-text elements, placeholder text
#7B7902 text on white 4.58:1 AA Lc 71.7 Content text, not long reading
#7B7902 text on black 4.57:1 AA Lc -30.0 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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EAEBDF

    oklch(93.6% 0.016 110.6)

  3. Step 200

    200

    #DADBC5

    oklch(88.5% 0.03 109.1)

  4. Step 300

    300

    #C3C49C

    oklch(80.9% 0.054 108.7)

  5. Step 400

    400

    #A5A564

    oklch(70.7% 0.087 108.4)

  6. Step 500

    500

    #8F8E35

    oklch(63% 0.111 108.6)

  7. Step 600

    600 (this color)

    #7B7902

    oklch(56% 0.12 108.6)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #45440E

    oklch(37.6% 0.072 108.4)

  11. Step 950

    950

    #28280B

    oklch(26.9% 0.046 109.1)

Export this scale for Tailwind in the Tailwind colors tool

#7B7902 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)#8474000.019
Deuteranopia (no green cones)#8677130.021
Tritanopia (no blue cones)#8570660.109
Achromatopsia (no color)#7575750.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B7902

    #7B7902

    oklch(56% 0.12 108.6)

  • #7267B6

    #7267B6

    oklch(55.9% 0.12 288.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B7902

    #7B7902

    oklch(56% 0.12 108.6)

  • #996A00

    #996A00

    oklch(55.9% 0.116 78.1)

  • #4D853C

    #4D853C

    oklch(56% 0.121 138.9)

Open the analogous palette in the generator

Split complementary

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

  • #7B7902

    #7B7902

    oklch(56% 0.12 108.6)

  • #4674BA

    #4674BA

    oklch(55.9% 0.12 258.6)

  • #925BA1

    #925BA1

    oklch(55.9% 0.121 318.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B7902

    #7B7902

    oklch(56% 0.12 108.6)

  • #0080A7

    #0080A7

    oklch(56% 0.11 228.3)

  • #A75480

    #A75480

    oklch(56% 0.121 348.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B7902

    #7B7902

    oklch(56% 0.12 108.6)

  • #008589

    #008589

    oklch(56% 0.095 198.5)

  • #7267B6

    #7267B6

    oklch(55.9% 0.12 288.3)

  • #B05458

    #B05458

    oklch(56.1% 0.12 19.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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