#8C9C28

Closest named color: Pea Soup (#929901). oklch(65.9% 0.137 117.3), rgb(140, 156, 40).

Aa

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

About this color

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

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

Values

HEX#8C9C28
RGBrgb(140, 156, 40)
HSLhsl(68, 59%, 38%)
OKLCHoklch(65.9% 0.137 117.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 #8C9C28 3.04:1 AA large text Lc -62.5 Content text, not long reading
Black text on #8C9C28 6.90:1 AA Lc 46.9 Large or bold text, headings
#8C9C28 text on white 3.04:1 AA large text Lc 57.1 Large or bold text, headings
#8C9C28 text on black 6.90:1 AA Lc -44.6 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

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D7DDC1

    oklch(88.5% 0.038 117)

  4. Step 300

    300

    #BDC796

    oklch(80.9% 0.067 117.3)

  5. Step 400

    400

    #9BA958

    oklch(70.6% 0.107 117.3)

  6. Step 500

    500 (this color)

    #8C9C28

    oklch(65.9% 0.137 117.3)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5500

    oklch(42.6% 0.098 117.3)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A04

    oklch(27% 0.058 118.2)

Export this scale for Tailwind in the Tailwind colors tool

#8C9C28 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)#A793100.043
Deuteranopia (no green cones)#A594320.044
Tritanopia (no blue cones)#9593860.119
Achromatopsia (no color)#9494940.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C9C28

    #8C9C28

    oklch(65.9% 0.137 117.3)

  • #9B7EDB

    #9B7EDB

    oklch(65.9% 0.137 296.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C9C28

    #8C9C28

    oklch(65.9% 0.137 117.3)

  • #B58B00

    #B58B00

    oklch(65.9% 0.135 87.1)

  • #50A85E

    #50A85E

    oklch(65.9% 0.137 147.2)

Open the analogous palette in the generator

Split complementary

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

  • #8C9C28

    #8C9C28

    oklch(65.9% 0.137 117.3)

  • #6C8DE5

    #6C8DE5

    oklch(65.8% 0.137 267.1)

  • #BD71BD

    #BD71BD

    oklch(65.8% 0.138 327)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C9C28

    #8C9C28

    oklch(65.9% 0.137 117.3)

  • #1D9CDB

    #1D9CDB

    oklch(65.8% 0.138 237.6)

  • #D26B92

    #D26B92

    oklch(65.8% 0.136 357.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C9C28

    #8C9C28

    oklch(65.9% 0.137 117.3)

  • #00A5B5

    #00A5B5

    oklch(66% 0.113 207)

  • #9B7EDB

    #9B7EDB

    oklch(65.9% 0.137 296.8)

  • #D96D62

    #D96D62

    oklch(65.9% 0.138 27.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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