#959D2B#959D2B

#959D2B is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.8% C 0.133 H 113.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#959D2B
RGBrgb(149, 157, 43)
HSLhsl(64, 57%, 39%)
HSVhsv(64, 73%, 62%)
CMYKcmyk(5.1%, 0%, 72.6%, 38.4%)
CIE-LABlab(62.24, -17.34, 55.17)
CIE-LCHlch(62.24, 57.83, 107.45°)
OKLaboklab(66.85% -0.0531 0.1224)
OKLCHoklch(66.85% 0.133 113.5)
XYZxyz(24.8882, 30.6784, 6.8955)
Luminance0.3068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959D2B #332B9D
analogous
#9D6C2B #959D2B #5C9D2B
triadic
#959D2B #2B959D #9D2B95
tetradic
#959D2B #2B9D6C #332B9D #9D2B5C
square
#959D2B #2B9D6C #332B9D #9D2B5C
split-complementary
#959D2B #2B5C9D #6C2B9D
monochromatic
#3A3D11 #676D1E #959D2B #C0CA3C #CFD76C

Accessibility & contrast

On white

2.94
#959D2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#959D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959D2B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959D2B#FFFFFF#000000##000000
##959D2B1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99516
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#9F9387
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #959d2b;
/* rgb */ color: rgb(149, 157, 43);
/* oklch */ color: oklch(66.8% 0.133 113.5);
Tailwind
colors: {
  custom: {
    50: '#b7b96d',
    500: '#959d2b',
    950: '#000000',
  },
}
SCSS
$custom: #959d2b;
$custom-light: #b7b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#959d2b",
  "rgb": {
    "r": 149,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 64.211,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66849,
    "c": 0.13342,
    "h": 113.5
  },
  "luminance": 0.30678
}

Semantic roles & 50–950 ramp

primary
#959D2B
secondary
#6C66BD
accent
#48E052
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #959D2B

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

Preview Lab → · Contrast checker → · Palette generator →

#959D2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva