#7FA500

Closest named color: Avocado Green (#87A922). oklch(66.9% 0.167 124.4), rgb(127, 165, 0).

Aa

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

About this color

#7FA500 is a medium-light, vivid yellow. In OKLCH its lightness is 67%, its chroma 0.167 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado Green (#87A922), ΔE 0.019 away. Black text reads best on it, at 7.28:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromavivid (0.167)
Temperaturein between
Nearest nameAvocado Green (#87A922)
Black text7.28:1
White text2.88:1

Values

HEX#7FA500
RGBrgb(127, 165, 0)
HSLhsl(74, 100%, 32%)
OKLCHoklch(66.9% 0.167 124.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 #7FA500 2.88:1 Fails Lc -60.1 Content text, not long reading
Black text on #7FA500 7.28:1 AAA Lc 49.2 Large or bold text, headings
#7FA500 text on white 2.88:1 Fails Lc 54.8 Large or bold text, headings
#7FA500 text on black 7.28:1 AAA Lc -47.0 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F3F7ED

    oklch(97% 0.014 124.6)

  2. Step 100

    100

    #E5EED8

    oklch(93.6% 0.031 125.2)

  3. Step 200

    200

    #D1E0B7

    oklch(88.5% 0.057 123.9)

  4. Step 300

    300

    #B2CD81

    oklch(81% 0.105 124.6)

  5. Step 400

    400 (this color)

    #7FA500

    oklch(66.9% 0.167 124.4)

  6. Step 500

    500

    #759800

    oklch(63% 0.157 124.4)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#7FA500 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)#AF99000.074
Deuteranopia (no green cones)#AA981F0.072
Tritanopia (no blue cones)#869C8C0.138
Achromatopsia (no color)#9898980.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA500

    #7FA500

    oklch(66.9% 0.167 124.4)

  • #AC77E7

    #AC77E7

    oklch(67% 0.167 304.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA500

    #7FA500

    oklch(66.9% 0.167 124.4)

  • #B09200

    #B09200

    oklch(66.8% 0.137 94.3)

  • #02B264

    #02B264

    oklch(67% 0.167 154.4)

Open the analogous palette in the generator

Split complementary

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

  • #7FA500

    #7FA500

    oklch(66.9% 0.167 124.4)

  • #7889FA

    #7889FA

    oklch(67% 0.167 274.6)

  • #D168BE

    #D168BE

    oklch(66.9% 0.168 334.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA500

    #7FA500

    oklch(66.9% 0.167 124.4)

  • #009CF3

    #009CF3

    oklch(66.9% 0.167 244.6)

  • #E56288

    #E56288

    oklch(66.9% 0.166 4.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA500

    #7FA500

    oklch(66.9% 0.167 124.4)

  • #00A7C1

    #00A7C1

    oklch(67% 0.118 214)

  • #AC77E7

    #AC77E7

    oklch(67% 0.167 304.1)

  • #E9684A

    #E9684A

    oklch(67% 0.167 34.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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