#958D40

Closest named color: Camo (#7F8F4E). oklch(63.4% 0.099 103.4), rgb(149, 141, 64).

Aa

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

About this color

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

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

Values

HEX#958D40
RGBrgb(149, 141, 64)
HSLhsl(54, 40%, 42%)
OKLCHoklch(63.4% 0.099 103.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 #958D40 3.40:1 AA large text Lc -67.0 Content text, not long reading
Black text on #958D40 6.16:1 AA Lc 42.5 Non-text elements, placeholder text
#958D40 text on white 3.40:1 AA large text Lc 61.5 Content text, not long reading
#958D40 text on black 6.16:1 AA Lc -40.2 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

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC6

    oklch(88.5% 0.027 102.3)

  4. Step 300

    300

    #C6C39F

    oklch(81% 0.049 103.5)

  5. Step 400

    400

    #A9A369

    oklch(70.7% 0.078 103.1)

  6. Step 500

    500 (this color)

    #958D40

    oklch(63.4% 0.099 103.4)

  7. Step 600

    600

    #7F7619

    oklch(55.7% 0.108 103.6)

  8. Step 700

    700

    #6B6309

    oklch(49.2% 0.1 103.8)

  9. Step 800

    800

    #57510E

    oklch(42.8% 0.083 104)

  10. Step 900

    900

    #484315

    oklch(37.8% 0.065 103.1)

  11. Step 950

    950

    #2A270E

    oklch(26.9% 0.04 102.5)

Export this scale for Tailwind in the Tailwind colors tool

#958D40 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)#9889380.011
Deuteranopia (no green cones)#9B8D440.011
Tritanopia (no blue cones)#9F847C0.091
Achromatopsia (no color)#8B8B8B0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #958D40

    #958D40

    oklch(63.4% 0.099 103.4)

  • #8282C5

    #8282C5

    oklch(63.4% 0.1 283.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #958D40

    #958D40

    oklch(63.4% 0.099 103.4)

  • #AF8140

    #AF8140

    oklch(63.5% 0.1 73.7)

  • #729758

    #729758

    oklch(63.3% 0.098 133.3)

Open the analogous palette in the generator

Split complementary

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

  • #958D40

    #958D40

    oklch(63.4% 0.099 103.4)

  • #5E8DC5

    #5E8DC5

    oklch(63.3% 0.099 253.5)

  • #A078B5

    #A078B5

    oklch(63.4% 0.099 313.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #958D40

    #958D40

    oklch(63.4% 0.099 103.4)

  • #3797B6

    #3797B6

    oklch(63.4% 0.099 223.3)

  • #B4719A

    #B4719A

    oklch(63.3% 0.1 342.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #958D40

    #958D40

    oklch(63.4% 0.099 103.4)

  • #279D9B

    #279D9B

    oklch(63.4% 0.099 193.2)

  • #8282C5

    #8282C5

    oklch(63.4% 0.1 283.2)

  • #BE7079

    #BE7079

    oklch(63.3% 0.099 12.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #958D40 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.