#7FA12E

Closest named color: Leaf (#71AA34). oklch(66.1% 0.145 124.7), rgb(127, 161, 46).

Aa

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

About this color

#7FA12E is a medium-light, vivid yellow. In OKLCH its lightness is 66%, its chroma 0.145 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Leaf (#71AA34), ΔE 0.027 away. Black text reads best on it, at 7.03:1.

Hue familyYellows
Lightnessmedium-light (66%)
Chromavivid (0.145)
Temperaturein between
Nearest nameLeaf (#71AA34)
Black text7.03:1
White text2.98:1

Values

HEX#7FA12E
RGBrgb(127, 161, 46)
HSLhsl(78, 56%, 41%)
OKLCHoklch(66.1% 0.145 124.7)

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

    #B6C997

    oklch(80.9% 0.071 124.9)

  5. Step 400

    400

    #91AD5B

    oklch(70.8% 0.113 124.7)

  6. Step 500

    500 (this color)

    #7FA12E

    oklch(66.1% 0.145 124.7)

  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

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #202B06

    oklch(27% 0.059 124.6)

Export this scale for Tailwind in the Tailwind colors tool

#7FA12E 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)#AA971B0.062
Deuteranopia (no green cones)#A595380.064
Tritanopia (no blue cones)#85998A0.118
Achromatopsia (no color)#9595950.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA12E

    #7FA12E

    oklch(66.1% 0.145 124.7)

  • #A779D9

    #A779D9

    oklch(66% 0.145 304.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA12E

    #7FA12E

    oklch(66.1% 0.145 124.7)

  • #AD9000

    #AD9000

    oklch(66% 0.136 94.6)

  • #33AC69

    #33AC69

    oklch(66.2% 0.145 154.5)

Open the analogous palette in the generator

Split complementary

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

  • #7FA12E

    #7FA12E

    oklch(66.1% 0.145 124.7)

  • #7989EA

    #7989EA

    oklch(66.1% 0.145 274.7)

  • #C76DB6

    #C76DB6

    oklch(66% 0.145 334.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA12E

    #7FA12E

    oklch(66.1% 0.145 124.7)

  • #319AE4

    #319AE4

    oklch(66.2% 0.144 244.4)

  • #DA6887

    #DA6887

    oklch(66.1% 0.146 4.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA12E

    #7FA12E

    oklch(66.1% 0.145 124.7)

  • #00A4BF

    #00A4BF

    oklch(66.1% 0.117 214.9)

  • #A779D9

    #A779D9

    oklch(66% 0.145 304.9)

  • #DC6D53

    #DC6D53

    oklch(66% 0.145 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 #7FA12E, closest first.

Similar named colors

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

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