#7FA603

Closest named color: Avocado Green (#87A922). oklch(67.2% 0.168 124.7), rgb(127, 166, 3).

Aa

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

About this color

#7FA603 is a medium-light, vivid yellow. In OKLCH its lightness is 67%, its chroma 0.168 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.017 away. Black text reads best on it, at 7.35:1.

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

Values

HEX#7FA603
RGBrgb(127, 166, 3)
HSLhsl(74, 96%, 33%)
OKLCHoklch(67.2% 0.168 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 #7FA603 2.85:1 Fails Lc -59.7 Large or bold text, headings
Black text on #7FA603 7.35:1 AAA Lc 49.6 Large or bold text, headings
#7FA603 text on white 2.85:1 Fails Lc 54.4 Large or bold text, headings
#7FA603 text on black 7.35:1 AAA Lc -47.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 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

    #D0E0B7

    oklch(88.4% 0.057 124.9)

  4. Step 300

    300

    #B1CD81

    oklch(81% 0.105 125.1)

  5. Step 400

    400 (this color)

    #7FA603

    oklch(67.2% 0.168 124.7)

  6. Step 500

    500

    #749900

    oklch(63.2% 0.159 125)

  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

    #364900

    oklch(37.5% 0.094 124.8)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#7FA603 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)#B09A000.074
Deuteranopia (no green cones)#AB98200.074
Tritanopia (no blue cones)#869D8D0.139
Achromatopsia (no color)#9999990.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA603

    #7FA603

    oklch(67.2% 0.168 124.7)

  • #AE77E7

    #AE77E7

    oklch(67.2% 0.167 305)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA603

    #7FA603

    oklch(67.2% 0.168 124.7)

  • #B19300

    #B19300

    oklch(67.1% 0.138 94.4)

  • #00B265

    #00B265

    oklch(67.1% 0.167 154.7)

Open the analogous palette in the generator

Split complementary

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

  • #7FA603

    #7FA603

    oklch(67.2% 0.168 124.7)

  • #7989FB

    #7989FB

    oklch(67.1% 0.168 274.9)

  • #D269BE

    #D269BE

    oklch(67.2% 0.167 335)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA603

    #7FA603

    oklch(67.2% 0.168 124.7)

  • #039DF4

    #039DF4

    oklch(67.2% 0.167 244.6)

  • #E76288

    #E76288

    oklch(67.2% 0.168 4.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA603

    #7FA603

    oklch(67.2% 0.168 124.7)

  • #00A7C3

    #00A7C3

    oklch(67.1% 0.119 215.3)

  • #AE77E7

    #AE77E7

    oklch(67.2% 0.167 305)

  • #EA6849

    #EA6849

    oklch(67.2% 0.168 34.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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