#7FA22D

Closest named color: Avocado Green (#87A922). oklch(66.4% 0.147 124.9), rgb(127, 162, 45).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (66%)
Chromavivid (0.147)
Temperaturein between
Nearest nameAvocado Green (#87A922)
Black text7.10:1
White text2.95:1

Values

HEX#7FA22D
RGBrgb(127, 162, 45)
HSLhsl(78, 57%, 41%)
OKLCHoklch(66.4% 0.147 124.9)

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 #7FA22D 2.95:1 Fails Lc -61.3 Content text, not long reading
Black text on #7FA22D 7.10:1 AAA Lc 48.1 Large or bold text, headings
#7FA22D text on white 2.95:1 Fails Lc 55.9 Large or bold text, headings
#7FA22D text on black 7.10:1 AAA Lc -45.9 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 500.

  1. Step 50

    50

    #F4F7F0

    oklch(97.2% 0.01 125.7)

  2. Step 100

    100

    #E6EDDE

    oklch(93.7% 0.021 127.4)

  3. Step 200

    200

    #D3DEC2

    oklch(88.5% 0.039 124.7)

  4. Step 300

    300

    #B6C996

    oklch(80.8% 0.072 124.6)

  5. Step 400

    400

    #90AD5A

    oklch(70.7% 0.115 125.1)

  6. Step 500

    500 (this color)

    #7FA22D

    oklch(66.4% 0.147 124.9)

  7. Step 600

    600

    #618000

    oklch(55.5% 0.139 124.8)

  8. Step 700

    700

    #516C00

    oklch(49.2% 0.123 125)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #364A00

    oklch(37.8% 0.095 125.3)

  11. Step 950

    950

    #202B05

    oklch(27% 0.06 124.3)

Export this scale for Tailwind in the Tailwind colors tool

#7FA22D 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)#AB97180.064
Deuteranopia (no green cones)#A696370.065
Tritanopia (no blue cones)#859A8B0.120
Achromatopsia (no color)#9696960.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA22D

    #7FA22D

    oklch(66.4% 0.147 124.9)

  • #A87ADB

    #A87ADB

    oklch(66.4% 0.146 304.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA22D

    #7FA22D

    oklch(66.4% 0.147 124.9)

  • #AE9100

    #AE9100

    oklch(66.4% 0.136 94.7)

  • #30AD6A

    #30AD6A

    oklch(66.4% 0.147 154.9)

Open the analogous palette in the generator

Split complementary

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

  • #7FA22D

    #7FA22D

    oklch(66.4% 0.147 124.9)

  • #7A89EC

    #7A89EC

    oklch(66.3% 0.147 275.1)

  • #C96DB7

    #C96DB7

    oklch(66.3% 0.148 334.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA22D

    #7FA22D

    oklch(66.4% 0.147 124.9)

  • #309AE6

    #309AE6

    oklch(66.3% 0.147 244.9)

  • #DB6887

    #DB6887

    oklch(66.3% 0.147 4.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA22D

    #7FA22D

    oklch(66.4% 0.147 124.9)

  • #00A5C0

    #00A5C0

    oklch(66.4% 0.117 214.8)

  • #A87ADB

    #A87ADB

    oklch(66.4% 0.146 304.6)

  • #DE6E52

    #DE6E52

    oklch(66.4% 0.147 35.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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