#7A7A04

Closest named color: Olive (#808000). oklch(56.1% 0.121 109.7), rgb(122, 122, 4).

Aa

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

About this color

#7A7A04 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.121 and its hue 110°. 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.61:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameOlive (#808000)
Black text4.61:1
White text4.55:1

Values

HEX#7A7A04
RGBrgb(122, 122, 4)
HSLhsl(60, 94%, 25%)
OKLCHoklch(56.1% 0.121 109.7)

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 #7A7A04 4.55:1 AA Lc -76.9 Fine for body text
Black text on #7A7A04 4.61:1 AA Lc 32.6 Non-text elements, placeholder text
#7A7A04 text on white 4.55:1 AA Lc 71.5 Content text, not long reading
#7A7A04 text on black 4.61:1 AA Lc -30.2 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

    #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

    #C2C49C

    oklch(80.8% 0.054 109.9)

  5. Step 400

    400

    #A4A664

    oklch(70.8% 0.088 109.9)

  6. Step 500

    500

    #8E8F36

    oklch(63.1% 0.111 109.8)

  7. Step 600

    600 (this color)

    #7A7A04

    oklch(56.1% 0.121 109.7)

  8. Step 700

    700

    #656500

    oklch(49.1% 0.107 109.8)

  9. Step 800

    800

    #535300

    oklch(42.8% 0.093 109.8)

  10. Step 900

    900

    #44450F

    oklch(37.8% 0.073 110.5)

  11. Step 950

    950

    #28280B

    oklch(26.9% 0.046 109.1)

Export this scale for Tailwind in the Tailwind colors tool

#7A7A04 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.023
Deuteranopia (no green cones)#8677140.023
Tritanopia (no blue cones)#8471670.110
Achromatopsia (no color)#7676760.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A7A04

    #7A7A04

    oklch(56.1% 0.121 109.7)

  • #7467B6

    #7467B6

    oklch(56.1% 0.12 289.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A7A04

    #7A7A04

    oklch(56.1% 0.121 109.7)

  • #986B00

    #986B00

    oklch(56% 0.116 79.5)

  • #4B863D

    #4B863D

    oklch(56.2% 0.122 139.8)

Open the analogous palette in the generator

Split complementary

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

  • #7A7A04

    #7A7A04

    oklch(56.1% 0.121 109.7)

  • #4874BB

    #4874BB

    oklch(56.1% 0.121 259.6)

  • #935BA1

    #935BA1

    oklch(56% 0.122 319.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A7A04

    #7A7A04

    oklch(56.1% 0.121 109.7)

  • #0080A9

    #0080A9

    oklch(56.1% 0.111 229.6)

  • #A8547F

    #A8547F

    oklch(56.1% 0.121 349.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A7A04

    #7A7A04

    oklch(56.1% 0.121 109.7)

  • #00858B

    #00858B

    oklch(56.1% 0.095 200.4)

  • #7467B6

    #7467B6

    oklch(56.1% 0.12 289.5)

  • #B15457

    #B15457

    oklch(56.2% 0.121 19.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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