#7FA12A

Closest named color: Avocado Green (#87A922). oklch(66.1% 0.147 124.5), rgb(127, 161, 42).

Aa

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

About this color

#7FA12A is a medium-light, vivid yellow. In OKLCH its lightness is 66%, its chroma 0.147 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.027 away. Black text reads best on it, at 7.03:1.

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

Values

HEX#7FA12A
RGBrgb(127, 161, 42)
HSLhsl(77, 59%, 40%)
OKLCHoklch(66.1% 0.147 124.5)

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 #7FA12A 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #7FA12A 7.03:1 AAA Lc 47.7 Large or bold text, headings
#7FA12A text on white 2.98:1 Fails Lc 56.3 Large or bold text, headings
#7FA12A text on black 7.03:1 AAA Lc -45.4 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

    #E7ECDE

    oklch(93.5% 0.019 122.8)

  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

    #91AD59

    oklch(70.7% 0.115 124.5)

  6. Step 500

    500 (this color)

    #7FA12A

    oklch(66.1% 0.147 124.5)

  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

    #202B05

    oklch(27% 0.06 124.3)

Export this scale for Tailwind in the Tailwind colors tool

#7FA12A 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)#AA96130.063
Deuteranopia (no green cones)#A695350.066
Tritanopia (no blue cones)#85998A0.121
Achromatopsia (no color)#9595950.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA12A

    #7FA12A

    oklch(66.1% 0.147 124.5)

  • #A779DB

    #A779DB

    oklch(66.1% 0.148 304.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA12A

    #7FA12A

    oklch(66.1% 0.147 124.5)

  • #AD9000

    #AD9000

    oklch(66% 0.136 94.6)

  • #30AC68

    #30AC68

    oklch(66.1% 0.147 154.4)

Open the analogous palette in the generator

Split complementary

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

  • #7FA12A

    #7FA12A

    oklch(66.1% 0.147 124.5)

  • #7889EC

    #7889EC

    oklch(66.1% 0.148 274.3)

  • #C86DB7

    #C86DB7

    oklch(66.2% 0.147 334.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA12A

    #7FA12A

    oklch(66.1% 0.147 124.5)

  • #2C9AE6

    #2C9AE6

    oklch(66.2% 0.148 244.4)

  • #DA6787

    #DA6787

    oklch(66% 0.147 4.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA12A

    #7FA12A

    oklch(66.1% 0.147 124.5)

  • #00A4BE

    #00A4BE

    oklch(66.1% 0.116 214.3)

  • #A779DB

    #A779DB

    oklch(66.1% 0.148 304.3)

  • #DD6C52

    #DD6C52

    oklch(66% 0.147 34.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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