#7B7A0F

Closest named color: Olive (#808000). oklch(56.2% 0.118 109.1), rgb(123, 122, 15).

Aa

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

About this color

#7B7A0F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.118 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Olive (#808000), ΔE 0.020 away. Black text reads best on it, at 4.63:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.118)
Temperaturewarm
Nearest nameOlive (#808000)
Black text4.63:1
White text4.53:1

Values

HEX#7B7A0F
RGBrgb(123, 122, 15)
HSLhsl(59, 78%, 27%)
OKLCHoklch(56.2% 0.118 109.1)

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 #7B7A0F 4.53:1 AA Lc -76.8 Fine for body text
Black text on #7B7A0F 4.63:1 AA Lc 32.7 Non-text elements, placeholder text
#7B7A0F text on white 4.53:1 AA Lc 71.3 Content text, not long reading
#7B7A0F text on black 4.63:1 AA Lc -30.3 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

    #EAEBDF

    oklch(93.6% 0.016 110.6)

  3. Step 200

    200

    #DADBC5

    oklch(88.5% 0.03 109.1)

  4. Step 300

    300

    #C3C49D

    oklch(80.9% 0.053 108.7)

  5. Step 400

    400

    #A4A566

    oklch(70.6% 0.084 109.2)

  6. Step 500

    500

    #8F8F39

    oklch(63.2% 0.108 109.1)

  7. Step 600

    600 (this color)

    #7B7A0F

    oklch(56.2% 0.118 109.1)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535204

    oklch(42.6% 0.09 108.9)

  10. Step 900

    900

    #454411

    oklch(37.7% 0.07 108.2)

  11. Step 950

    950

    #28280C

    oklch(27% 0.044 109)

Export this scale for Tailwind in the Tailwind colors tool

#7B7A0F 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)#8574000.021
Deuteranopia (no green cones)#86781B0.021
Tritanopia (no blue cones)#8571670.106
Achromatopsia (no color)#7676760.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B7A0F

    #7B7A0F

    oklch(56.2% 0.118 109.1)

  • #7468B5

    #7468B5

    oklch(56.3% 0.117 289.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B7A0F

    #7B7A0F

    oklch(56.2% 0.118 109.1)

  • #996B00

    #996B00

    oklch(56.1% 0.117 78.9)

  • #4F853F

    #4F853F

    oklch(56.2% 0.117 138.9)

Open the analogous palette in the generator

Split complementary

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

  • #7B7A0F

    #7B7A0F

    oklch(56.2% 0.118 109.1)

  • #4975B9

    #4975B9

    oklch(56.2% 0.117 258.8)

  • #925DA1

    #925DA1

    oklch(56.2% 0.117 318.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B7A0F

    #7B7A0F

    oklch(56.2% 0.118 109.1)

  • #0080A9

    #0080A9

    oklch(56.1% 0.111 229.6)

  • #A75680

    #A75680

    oklch(56.3% 0.117 349.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B7A0F

    #7B7A0F

    oklch(56.2% 0.118 109.1)

  • #00868A

    #00868A

    oklch(56.3% 0.096 198.5)

  • #7468B5

    #7468B5

    oklch(56.3% 0.117 289.2)

  • #AF5559

    #AF5559

    oklch(56.1% 0.118 18.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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