#7CAF1F

Closest named color: Avocado Green (#87A922). oklch(69.3% 0.172 128.3), rgb(124, 175, 31).

Aa

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

About this color

#7CAF1F is a medium-light, vivid green. In OKLCH its lightness is 69%, its chroma 0.172 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado Green (#87A922), ΔE 0.021 away. Black text reads best on it, at 8.00:1.

Hue familyGreens
Lightnessmedium-light (69%)
Chromavivid (0.172)
Temperaturein between
Nearest nameAvocado Green (#87A922)
Black text8.00:1
White text2.62:1

Values

HEX#7CAF1F
RGBrgb(124, 175, 31)
HSLhsl(81, 70%, 40%)
OKLCHoklch(69.3% 0.172 128.3)

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 #7CAF1F 2.62:1 Fails Lc -56.1 Large or bold text, headings
Black text on #7CAF1F 8.00:1 AAA Lc 53.1 Large or bold text, headings
#7CAF1F text on white 2.62:1 Fails Lc 50.9 Large or bold text, headings
#7CAF1F text on black 8.00:1 AAA Lc -51.0 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

    #F2F7ED

    oklch(97% 0.014 128.6)

  2. Step 100

    100

    #E4EED8

    oklch(93.6% 0.031 127)

  3. Step 200

    200

    #CDE1B8

    oklch(88.4% 0.059 128.8)

  4. Step 300

    300

    #ACCE82

    oklch(80.8% 0.107 128.2)

  5. Step 400

    400 (this color)

    #7CAF1F

    oklch(69.3% 0.172 128.3)

  6. Step 500

    500

    #6B9B00

    oklch(63.1% 0.166 128.3)

  7. Step 600

    600

    #598200

    oklch(55.5% 0.146 128.3)

  8. Step 700

    700

    #4A6D00

    oklch(48.9% 0.129 128.3)

  9. Step 800

    800

    #3C5A00

    oklch(42.8% 0.113 128.5)

  10. Step 900

    900

    #324B00

    oklch(37.8% 0.099 128.2)

  11. Step 950

    950

    #1C2C00

    oklch(26.9% 0.07 127.9)

Export this scale for Tailwind in the Tailwind colors tool

#7CAF1F 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)#B8A2000.085
Deuteranopia (no green cones)#B19F300.085
Tritanopia (no blue cones)#81A7950.135
Achromatopsia (no color)#A0A0A00.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #7CAF1F

    #7CAF1F

    oklch(69.3% 0.172 128.3)

  • #BA7BED

    #BA7BED

    oklch(69.3% 0.172 308)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7CAF1F

    #7CAF1F

    oklch(69.3% 0.172 128.3)

  • #B49C00

    #B49C00

    oklch(69.3% 0.143 98.2)

  • #00B975

    #00B975

    oklch(69.2% 0.161 158.3)

Open the analogous palette in the generator

Split complementary

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

  • #7CAF1F

    #7CAF1F

    oklch(69.3% 0.172 128.3)

  • #878EFF

    #878EFF

    oklch(69.2% 0.164 278.5)

  • #DE6CC0

    #DE6CC0

    oklch(69.2% 0.173 338.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7CAF1F

    #7CAF1F

    oklch(69.3% 0.172 128.3)

  • #2DA1FF

    #2DA1FF

    oklch(69.2% 0.17 248.4)

  • #F16787

    #F16787

    oklch(69.2% 0.172 8.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7CAF1F

    #7CAF1F

    oklch(69.3% 0.172 128.3)

  • #00AED0

    #00AED0

    oklch(69.3% 0.125 218.4)

  • #BA7BED

    #BA7BED

    oklch(69.3% 0.172 308)

  • #F26F44

    #F26F44

    oklch(69.2% 0.172 38.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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