#8F9940

Closest named color: Pea Soup (#929901). oklch(65.6% 0.114 115), rgb(143, 153, 64).

Aa

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

About this color

#8F9940 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.114 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.032 away. Black text reads best on it, at 6.79:1.

Hue familyYellows
Lightnessmedium-light (66%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest namePea Soup (#929901)
Black text6.79:1
White text3.08:1

Values

HEX#8F9940
RGBrgb(143, 153, 64)
HSLhsl(67, 41%, 43%)
OKLCHoklch(65.6% 0.114 115)

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 #8F9940 3.08:1 AA large text Lc -63.1 Content text, not long reading
Black text on #8F9940 6.79:1 AA Lc 46.3 Large or bold text, headings
#8F9940 text on white 3.08:1 AA large text Lc 57.8 Large or bold text, headings
#8F9940 text on black 6.79:1 AA Lc -44.0 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9EBDF

    oklch(93.5% 0.016 114.4)

  3. Step 200

    200

    #D8DCC5

    oklch(88.5% 0.031 115)

  4. Step 300

    300

    #BFC59C

    oklch(80.8% 0.056 114.4)

  5. Step 400

    400

    #9FA765

    oklch(70.6% 0.089 114.4)

  6. Step 500

    500 (this color)

    #8F9940

    oklch(65.6% 0.114 115)

  7. Step 600

    600

    #727B06

    oklch(55.6% 0.124 114.8)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5402

    oklch(42.6% 0.095 114.5)

  10. Step 900

    900

    #414610

    oklch(37.8% 0.074 114.6)

  11. Step 950

    950

    #26290C

    oklch(27% 0.046 114.5)

Export this scale for Tailwind in the Tailwind colors tool

#8F9940 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)#A392360.032
Deuteranopia (no green cones)#A293450.034
Tritanopia (no blue cones)#9791860.100
Achromatopsia (no color)#9393930.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F9940

    #8F9940

    oklch(65.6% 0.114 115)

  • #9682CF

    #9682CF

    oklch(65.5% 0.114 295)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F9940

    #8F9940

    oklch(65.6% 0.114 115)

  • #B18B32

    #B18B32

    oklch(65.6% 0.114 85)

  • #62A364

    #62A364

    oklch(65.5% 0.114 144.8)

Open the analogous palette in the generator

Split complementary

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

  • #8F9940

    #8F9940

    oklch(65.6% 0.114 115)

  • #6F8FD7

    #6F8FD7

    oklch(65.6% 0.114 265.2)

  • #B478B7

    #B478B7

    oklch(65.6% 0.113 325.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F9940

    #8F9940

    oklch(65.6% 0.114 115)

  • #3C9BCC

    #3C9BCC

    oklch(65.5% 0.114 235)

  • #C77295

    #C77295

    oklch(65.6% 0.114 354.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F9940

    #8F9940

    oklch(65.6% 0.114 115)

  • #00A4B1

    #00A4B1

    oklch(65.6% 0.112 204.8)

  • #9682CF

    #9682CF

    oklch(65.5% 0.114 295)

  • #CE746D

    #CE746D

    oklch(65.7% 0.114 25.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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