#8FAF51

Closest named color: Avocado (#90B134). oklch(71% 0.127 125.1), rgb(143, 175, 81).

Aa

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

About this color

#8FAF51 is a medium-light, moderately saturated green. In OKLCH its lightness is 71%, its chroma 0.127 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.026 away. Black text reads best on it, at 8.41:1.

Hue familyGreens
Lightnessmedium-light (71%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.41:1
White text2.49:1

Values

HEX#8FAF51
RGBrgb(143, 175, 81)
HSLhsl(80, 37%, 50%)
OKLCHoklch(71% 0.127 125.1)

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 #8FAF51 2.49:1 Fails Lc -54.0 Large or bold text, headings
Black text on #8FAF51 8.41:1 AAA Lc 55.1 Large or bold text, headings
#8FAF51 text on white 2.49:1 Fails Lc 48.9 Large or bold text, headings
#8FAF51 text on black 8.41:1 AAA Lc -53.1 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

    #F4F7EF

    oklch(97.2% 0.011 123.5)

  2. Step 100

    100

    #E6EDDC

    oklch(93.6% 0.024 125.2)

  3. Step 200

    200

    #D2DFBF

    oklch(88.5% 0.045 125.3)

  4. Step 300

    300

    #B5CA92

    oklch(80.9% 0.079 124.8)

  5. Step 400

    400 (this color)

    #8FAF51

    oklch(71% 0.127 125.1)

  6. Step 500

    500

    #739900

    oklch(63.1% 0.159 125.3)

  7. Step 600

    600

    #608000

    oklch(55.5% 0.14 125.2)

  8. Step 700

    700

    #516C00

    oklch(49.2% 0.123 125)

  9. Step 800

    800

    #415800

    oklch(42.6% 0.107 125.2)

  10. Step 900

    900

    #364A00

    oklch(37.8% 0.095 125.3)

  11. Step 950

    950

    #1F2C01

    oklch(27.1% 0.067 125.3)

Export this scale for Tailwind in the Tailwind colors tool

#8FAF51 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)#B7A5480.058
Deuteranopia (no green cones)#B3A4570.059
Tritanopia (no blue cones)#94A89A0.102
Achromatopsia (no color)#A4A4A40.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #8FAF51

    #8FAF51

    oklch(71% 0.127 125.1)

  • #B48CE1

    #B48CE1

    oklch(71% 0.127 305)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8FAF51

    #8FAF51

    oklch(71% 0.127 125.1)

  • #BAA033

    #BAA033

    oklch(71% 0.128 95.3)

  • #56B97E

    #56B97E

    oklch(71.1% 0.128 155.1)

Open the analogous palette in the generator

Split complementary

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

  • #8FAF51

    #8FAF51

    oklch(71% 0.127 125.1)

  • #8B9AF0

    #8B9AF0

    oklch(71% 0.127 275.2)

  • #D282C1

    #D282C1

    oklch(71.1% 0.127 335)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8FAF51

    #8FAF51

    oklch(71% 0.127 125.1)

  • #55A9EB

    #55A9EB

    oklch(71% 0.127 244.7)

  • #E37E96

    #E37E96

    oklch(71% 0.127 5.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8FAF51

    #8FAF51

    oklch(71% 0.127 125.1)

  • #00B4D2

    #00B4D2

    oklch(70.9% 0.125 215.3)

  • #B48CE1

    #B48CE1

    oklch(71% 0.127 305)

  • #E58269

    #E58269

    oklch(70.9% 0.128 35.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8FAF51 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.