#958A40

Closest named color: Camo (#7F8F4E). oklch(62.7% 0.096 101), rgb(149, 138, 64).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.096)
Temperaturewarm
Nearest nameCamo (#7F8F4E)
Black text5.98:1
White text3.50:1

Values

HEX#958A40
RGBrgb(149, 138, 64)
HSLhsl(52, 40%, 42%)
OKLCHoklch(62.7% 0.096 101)

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 #958A40 3.50:1 AA large text Lc -68.1 Content text, not long reading
Black text on #958A40 5.98:1 AA Lc 41.5 Non-text elements, placeholder text
#958A40 text on white 3.50:1 AA large text Lc 62.6 Content text, not long reading
#958A40 text on black 5.98:1 AA Lc -39.1 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

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DCDAC7

    oklch(88.5% 0.026 102)

  4. Step 300

    300

    #C7C29F

    oklch(80.9% 0.048 100.6)

  5. Step 400

    400

    #AAA26B

    oklch(70.6% 0.075 101)

  6. Step 500

    500 (this color)

    #958A40

    oklch(62.7% 0.096 101)

  7. Step 600

    600

    #81751D

    oklch(55.7% 0.105 101.2)

  8. Step 700

    700

    #6D620E

    oklch(49.2% 0.097 101.2)

  9. Step 800

    800

    #595011

    oklch(42.8% 0.081 100.8)

  10. Step 900

    900

    #494217

    oklch(37.6% 0.062 100.1)

  11. Step 950

    950

    #2B270F

    oklch(27.1% 0.039 100)

Export this scale for Tailwind in the Tailwind colors tool

#958A40 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)#9686390.011
Deuteranopia (no green cones)#998B440.008
Tritanopia (no blue cones)#9F81790.088
Achromatopsia (no color)#8989890.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #958A40

    #958A40

    oklch(62.7% 0.096 101)

  • #7E81C1

    #7E81C1

    oklch(62.7% 0.096 281.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #958A40

    #958A40

    oklch(62.7% 0.096 101)

  • #AD7E43

    #AD7E43

    oklch(62.8% 0.096 70.8)

  • #749455

    #749455

    oklch(62.7% 0.096 130.7)

Open the analogous palette in the generator

Split complementary

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

  • #958A40

    #958A40

    oklch(62.7% 0.096 101)

  • #5B8CC1

    #5B8CC1

    oklch(62.7% 0.096 251.4)

  • #9B77B3

    #9B77B3

    oklch(62.6% 0.097 311.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #958A40

    #958A40

    oklch(62.7% 0.096 101)

  • #3695B1

    #3695B1

    oklch(62.6% 0.096 221.2)

  • #B0719A

    #B0719A

    oklch(62.8% 0.096 340.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #958A40

    #958A40

    oklch(62.7% 0.096 101)

  • #2C9B96

    #2C9B96

    oklch(62.8% 0.097 190.5)

  • #7E81C1

    #7E81C1

    oklch(62.7% 0.096 281.2)

  • #BA6F7A

    #BA6F7A

    oklch(62.7% 0.096 10.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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