#7FA212

Closest named color: Avocado Green (#87A922). oklch(66.2% 0.16 123.9), rgb(127, 162, 18).

Aa

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

About this color

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

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

Values

HEX#7FA212
RGBrgb(127, 162, 18)
HSLhsl(75, 80%, 35%)
OKLCHoklch(66.2% 0.16 123.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 #7FA212 2.96:1 Fails Lc -61.4 Content text, not long reading
Black text on #7FA212 7.07:1 AAA Lc 48.0 Large or bold text, headings
#7FA212 text on white 2.96:1 Fails Lc 56.0 Large or bold text, headings
#7FA212 text on black 7.07:1 AAA Lc -45.8 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

    #F4F7EF

    oklch(97.2% 0.011 123.5)

  2. Step 100

    100

    #E6EDDC

    oklch(93.6% 0.024 125.2)

  3. Step 200

    200

    #D3DEBF

    oklch(88.4% 0.043 123.2)

  4. Step 300

    300

    #B6CA92

    oklch(81% 0.078 124.1)

  5. Step 400

    400

    #91AD51

    oklch(70.6% 0.124 123.6)

  6. Step 500

    500 (this color)

    #7FA212

    oklch(66.2% 0.16 123.9)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #202B01

    oklch(26.9% 0.065 123.5)

Export this scale for Tailwind in the Tailwind colors tool

#7FA212 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)#AC97000.068
Deuteranopia (no green cones)#A795250.068
Tritanopia (no blue cones)#86998A0.133
Achromatopsia (no color)#9696960.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA212

    #7FA212

    oklch(66.2% 0.16 123.9)

  • #A877E1

    #A877E1

    oklch(66.2% 0.158 303.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA212

    #7FA212

    oklch(66.2% 0.16 123.9)

  • #AE9000

    #AE9000

    oklch(66.1% 0.136 94.1)

  • #1EAE63

    #1EAE63

    oklch(66.2% 0.16 153.8)

Open the analogous palette in the generator

Split complementary

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

  • #7FA212

    #7FA212

    oklch(66.2% 0.16 123.9)

  • #7688F3

    #7688F3

    oklch(66.2% 0.159 274.1)

  • #CB69BB

    #CB69BB

    oklch(66.2% 0.159 333.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA212

    #7FA212

    oklch(66.2% 0.16 123.9)

  • #109AEC

    #109AEC

    oklch(66.1% 0.16 244)

  • #E06388

    #E06388

    oklch(66.3% 0.159 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA212

    #7FA212

    oklch(66.2% 0.16 123.9)

  • #00A4BE

    #00A4BE

    oklch(66.1% 0.116 214.3)

  • #A877E1

    #A877E1

    oklch(66.2% 0.158 303.7)

  • #E3684D

    #E3684D

    oklch(66.2% 0.159 33.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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