#8AAF2C

Closest named color: Icky Green (#8FAE22). oklch(70.3% 0.158 124.4), rgb(138, 175, 44).

Aa

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

About this color

#8AAF2C is a medium-light, vivid yellow. In OKLCH its lightness is 70%, its chroma 0.158 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Icky Green (#8FAE22), ΔE 0.007 away. Black text reads best on it, at 8.24:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromavivid (0.158)
Temperaturein between
Nearest nameIcky Green (#8FAE22)
Black text8.24:1
White text2.54:1

Values

HEX#8AAF2C
RGBrgb(138, 175, 44)
HSLhsl(77, 60%, 43%)
OKLCHoklch(70.3% 0.158 124.4)

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 #8AAF2C 2.54:1 Fails Lc -54.8 Large or bold text, headings
Black text on #8AAF2C 8.24:1 AAA Lc 54.3 Large or bold text, headings
#8AAF2C text on white 2.54:1 Fails Lc 49.7 Large or bold text, headings
#8AAF2C text on black 8.24:1 AAA Lc -52.2 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

    #F3F7EE

    oklch(97.1% 0.013 126.4)

  2. Step 100

    100

    #E5EED9

    oklch(93.7% 0.029 126)

  3. Step 200

    200

    #D1E0B9

    oklch(88.5% 0.054 124.6)

  4. Step 300

    300

    #B3CC84

    oklch(80.9% 0.099 124.2)

  5. Step 400

    400 (this color)

    #8AAF2C

    oklch(70.3% 0.158 124.4)

  6. Step 500

    500

    #759800

    oklch(63% 0.157 124.4)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  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

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#8AAF2C 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)#B9A30F0.068
Deuteranopia (no green cones)#B4A2380.070
Tritanopia (no blue cones)#91A6960.130
Achromatopsia (no color)#A2A2A20.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #8AAF2C

    #8AAF2C

    oklch(70.3% 0.158 124.4)

  • #B683EE

    #B683EE

    oklch(70.3% 0.159 304.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8AAF2C

    #8AAF2C

    oklch(70.3% 0.158 124.4)

  • #BC9D00

    #BC9D00

    oklch(70.3% 0.144 94.8)

  • #32BB71

    #32BB71

    oklch(70.2% 0.158 154.5)

Open the analogous palette in the generator

Split complementary

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

  • #8AAF2C

    #8AAF2C

    oklch(70.3% 0.158 124.4)

  • #8395FF

    #8395FF

    oklch(70.3% 0.156 274.4)

  • #D976C7

    #D976C7

    oklch(70.3% 0.158 334.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8AAF2C

    #8AAF2C

    oklch(70.3% 0.158 124.4)

  • #2EA7FA

    #2EA7FA

    oklch(70.3% 0.159 244.5)

  • #EE7093

    #EE7093

    oklch(70.3% 0.158 4.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8AAF2C

    #8AAF2C

    oklch(70.3% 0.158 124.4)

  • #00B2CE

    #00B2CE

    oklch(70.2% 0.124 214.2)

  • #B683EE

    #B683EE

    oklch(70.3% 0.159 304.6)

  • #F17559

    #F17559

    oklch(70.2% 0.159 34)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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