#8D8D40

Closest named color: Camo (#7F8F4E). oklch(62.7% 0.1 109), rgb(141, 141, 64).

Aa

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

About this color

#8D8D40 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.100 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.022 away. Black text reads best on it, at 6.01:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.100)
Temperaturewarm
Nearest nameCamo (#7F8F4E)
Black text6.01:1
White text3.49:1

Values

HEX#8D8D40
RGBrgb(141, 141, 64)
HSLhsl(60, 38%, 40%)
OKLCHoklch(62.7% 0.1 109)

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 #8D8D40 3.49:1 AA large text Lc -67.9 Content text, not long reading
Black text on #8D8D40 6.01:1 AA Lc 41.7 Non-text elements, placeholder text
#8D8D40 text on white 3.49:1 AA large text Lc 62.4 Content text, not long reading
#8D8D40 text on black 6.01:1 AA Lc -39.3 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #DADBC7

    oklch(88.5% 0.027 109.3)

  4. Step 300

    300

    #C3C4A0

    oklch(81% 0.049 108.8)

  5. Step 400

    400

    #A4A56B

    oklch(70.7% 0.078 109.1)

  6. Step 500

    500 (this color)

    #8D8D40

    oklch(62.7% 0.1 109)

  7. Step 600

    600

    #79781E

    oklch(55.7% 0.108 108.8)

  8. Step 700

    700

    #66650E

    oklch(49.2% 0.101 108.9)

  9. Step 800

    800

    #535211

    oklch(42.7% 0.083 108.6)

  10. Step 900

    900

    #444417

    oklch(37.6% 0.065 109.1)

  11. Step 950

    950

    #28280F

    oklch(27% 0.041 108.8)

Export this scale for Tailwind in the Tailwind colors tool

#8D8D40 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)#9788380.018
Deuteranopia (no green cones)#988A440.020
Tritanopia (no blue cones)#96857C0.090
Achromatopsia (no color)#8989890.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D8D40

    #8D8D40

    oklch(62.7% 0.1 109)

  • #867EC1

    #867EC1

    oklch(62.7% 0.1 288.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D8D40

    #8D8D40

    oklch(62.7% 0.1 109)

  • #A9813B

    #A9813B

    oklch(62.8% 0.1 79.1)

  • #68975B

    #68975B

    oklch(62.7% 0.101 139.1)

Open the analogous palette in the generator

Split complementary

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

  • #8D8D40

    #8D8D40

    oklch(62.7% 0.1 109)

  • #6389C4

    #6389C4

    oklch(62.7% 0.099 258.9)

  • #A274AF

    #A274AF

    oklch(62.6% 0.101 318.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D8D40

    #8D8D40

    oklch(62.7% 0.1 109)

  • #3A93B8

    #3A93B8

    oklch(62.6% 0.1 229.1)

  • #B56E92

    #B56E92

    oklch(62.6% 0.101 348.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D8D40

    #8D8D40

    oklch(62.7% 0.1 109)

  • #209A9F

    #209A9F

    oklch(62.6% 0.1 199.2)

  • #867EC1

    #867EC1

    oklch(62.7% 0.1 288.6)

  • #BD6E70

    #BD6E70

    oklch(62.6% 0.101 18.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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