#958D40#958D40

#958D40 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.099 H 103.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#958D40
RGBrgb(149, 141, 64)
HSLhsl(54, 40%, 42%)
HSVhsv(54, 57%, 58%)
CMYKcmyk(0%, 5.4%, 57%, 41.6%)
CIE-LABlab(57.86, -7.47, 41.43)
CIE-LCHlch(57.86, 42.10, 100.22°)
OKLaboklab(63.41% -0.023 0.0965)
OKLCHoklch(63.41% 0.099 103.4)
XYZxyz(22.8455, 25.8103, 8.6280)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D40 #404895
analogous
#956340 #958D40 #739540
triadic
#958D40 #40958D #8D4095
tetradic
#958D40 #409563 #404895 #954073
square
#958D40 #409563 #404895 #954073
split-complementary
#958D40 #407395 #634095
monochromatic
#3F3C1B #6A642E #958D40 #B8AF5A #CBC485

Accessibility & contrast

On white

3.41
#958D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#958D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958D40
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958D40#FFFFFF#000000##000000
##958D401.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988938
Deuteranopia (green-blind)
#9B8D44
Tritanopia (blue-blind)
#9F847C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #958d40;
/* rgb */ color: rgb(149, 141, 64);
/* oklch */ color: oklch(63.4% 0.099 103.4);
Tailwind
colors: {
  custom: {
    50: '#b6ae77',
    500: '#958d40',
    950: '#000000',
  },
}
SCSS
$custom: #958d40;
$custom-light: #b6ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#958d40",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 54.353,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63412,
    "c": 0.09917,
    "h": 103.4
  },
  "luminance": 0.25809
}

Semantic roles & 50–950 ramp

primary
#958D40
secondary
#7C81B5
accent
#63D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #958D40

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#958D40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva