#8FAC4F

Closest named color: Asparagus (#77AB56). oklch(70.2% 0.125 124), rgb(143, 172, 79).

Aa

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

About this color

#8FAC4F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 70%, its chroma 0.125 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Asparagus (#77AB56), ΔE 0.029 away. Black text reads best on it, at 8.18:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameAsparagus (#77AB56)
Black text8.18:1
White text2.56:1

Values

HEX#8FAC4F
RGBrgb(143, 172, 79)
HSLhsl(79, 37%, 49%)
OKLCHoklch(70.2% 0.125 124)

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 #8FAC4F 2.56:1 Fails Lc -55.3 Large or bold text, headings
Black text on #8FAC4F 8.18:1 AAA Lc 53.9 Large or bold text, headings
#8FAC4F text on white 2.56:1 Fails Lc 50.1 Large or bold text, headings
#8FAC4F text on black 8.18:1 AAA Lc -51.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 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

    #D3DEBF

    oklch(88.4% 0.043 123.2)

  4. Step 300

    300

    #B6CA92

    oklch(81% 0.078 124.1)

  5. Step 400

    400 (this color)

    #8FAC4F

    oklch(70.2% 0.125 124)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  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

#8FAC4F 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)#B5A2460.056
Deuteranopia (no green cones)#B1A1550.057
Tritanopia (no blue cones)#95A5970.101
Achromatopsia (no color)#A2A2A20.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #8FAC4F

    #8FAC4F

    oklch(70.2% 0.125 124)

  • #B08BDE

    #B08BDE

    oklch(70.3% 0.124 303.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8FAC4F

    #8FAC4F

    oklch(70.2% 0.125 124)

  • #B99D34

    #B99D34

    oklch(70.2% 0.125 93.7)

  • #58B67B

    #58B67B

    oklch(70.3% 0.125 154)

Open the analogous palette in the generator

Split complementary

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

  • #8FAC4F

    #8FAC4F

    oklch(70.2% 0.125 124)

  • #8798ED

    #8798ED

    oklch(70.2% 0.126 274.1)

  • #CE80BF

    #CE80BF

    oklch(70.2% 0.125 334.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8FAC4F

    #8FAC4F

    oklch(70.2% 0.125 124)

  • #52A7E7

    #52A7E7

    oklch(70.3% 0.125 243.7)

  • #DF7C96

    #DF7C96

    oklch(70.2% 0.125 4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8FAC4F

    #8FAC4F

    oklch(70.2% 0.125 124)

  • #00B2CE

    #00B2CE

    oklch(70.2% 0.124 214.2)

  • #B08BDE

    #B08BDE

    oklch(70.3% 0.124 303.9)

  • #E2806A

    #E2806A

    oklch(70.2% 0.126 33.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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