#7A8502

Closest named color: Swamp Green (#748500). oklch(58.7% 0.133 115.4), rgb(122, 133, 2).

Aa

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

About this color

#7A8502 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.133 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp Green (#748500), ΔE 0.009 away. Black text reads best on it, at 5.18:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameSwamp Green (#748500)
Black text5.18:1
White text4.05:1

Values

HEX#7A8502
RGBrgb(122, 133, 2)
HSLhsl(65, 97%, 26%)
OKLCHoklch(58.7% 0.133 115.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 #7A8502 4.05:1 AA large text Lc -73.1 Content text, not long reading
Black text on #7A8502 5.18:1 AA Lc 36.5 Non-text elements, placeholder text
#7A8502 text on white 4.05:1 AA large text Lc 67.6 Content text, not long reading
#7A8502 text on black 5.18:1 AA Lc -34.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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9EBDF

    oklch(93.5% 0.016 114.4)

  3. Step 200

    200

    #D8DCC4

    oklch(88.5% 0.032 114.7)

  4. Step 300

    300

    #BEC69A

    oklch(80.9% 0.06 116.1)

  5. Step 400

    400

    #9EA860

    oklch(70.7% 0.096 115.4)

  6. Step 500

    500

    #87922F

    oklch(63.2% 0.122 115.4)

  7. Step 600

    600 (this color)

    #7A8502

    oklch(58.7% 0.133 115.4)

  8. Step 700

    700

    #5F6800

    oklch(49.3% 0.112 115.5)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404609

    oklch(37.6% 0.08 115.4)

  11. Step 950

    950

    #252909

    oklch(26.9% 0.05 115.9)

Export this scale for Tailwind in the Tailwind colors tool

#7A8502 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)#8F7D000.038
Deuteranopia (no green cones)#8F7F170.038
Tritanopia (no blue cones)#837C700.117
Achromatopsia (no color)#7E7E7E0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A8502

    #7A8502

    oklch(58.7% 0.133 115.4)

  • #846AC2

    #846AC2

    oklch(58.8% 0.133 295.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A8502

    #7A8502

    oklch(58.7% 0.133 115.4)

  • #9D7600

    #9D7600

    oklch(58.8% 0.121 85.4)

  • #409148

    #409148

    oklch(58.8% 0.134 145.5)

Open the analogous palette in the generator

Split complementary

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

  • #7A8502

    #7A8502

    oklch(58.7% 0.133 115.4)

  • #5678CB

    #5678CB

    oklch(58.6% 0.133 265.7)

  • #A45EA7

    #A45EA7

    oklch(58.8% 0.133 325.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A8502

    #7A8502

    oklch(58.7% 0.133 115.4)

  • #0087BC

    #0087BC

    oklch(58.9% 0.125 235.1)

  • #B85780

    #B85780

    oklch(58.8% 0.133 355.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A8502

    #7A8502

    oklch(58.7% 0.133 115.4)

  • #008D99

    #008D99

    oklch(58.7% 0.1 205.4)

  • #846AC2

    #846AC2

    oklch(58.8% 0.133 295.7)

  • #BF5852

    #BF5852

    oklch(58.7% 0.134 25.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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