#959D1B#959D1B

#959D1B is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.8% C 0.142 H 113.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#959D1B
RGBrgb(149, 157, 27)
HSLhsl(64, 71%, 36%)
HSVhsv(64, 83%, 62%)
CMYKcmyk(5.1%, 0%, 82.8%, 38.4%)
CIE-LABlab(62.15, -18.01, 60.19)
CIE-LCHlch(62.15, 62.83, 106.66°)
OKLaboklab(66.76% -0.0563 0.1302)
OKLCHoklch(66.76% 0.142 113.4)
XYZxyz(24.6500, 30.5832, 5.6413)
Luminance0.3058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959D1B #231B9D
analogous
#9D641B #959D1B #549D1B
triadic
#959D1B #1B959D #9D1B95
tetradic
#959D1B #1B9D64 #231B9D #9D1B54
square
#959D1B #1B9D64 #231B9D #9D1B54
split-complementary
#959D1B #1B549D #641B9D
monochromatic
#323509 #636912 #959D1B #C7D124 #D8E151

Accessibility & contrast

On white

2.95
#959D1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#959D1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959D1B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959D1B#FFFFFF#000000##000000
##959D1B1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A99728
Tritanopia (blue-blind)
#A09386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #959d1b;
/* rgb */ color: rgb(149, 157, 27);
/* oklch */ color: oklch(66.8% 0.142 113.4);
Tailwind
colors: {
  custom: {
    50: '#b8b965',
    500: '#959d1b',
    950: '#000000',
  },
}
SCSS
$custom: #959d1b;
$custom-light: #b8b965;
$custom-dark: #000000;
JSON
{
  "hex": "#959d1b",
  "rgb": {
    "r": 149,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 63.692,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66758,
    "c": 0.14183,
    "h": 113.4
  },
  "luminance": 0.30583
}

Semantic roles & 50–950 ramp

primary
#959D1B
secondary
#5750C4
accent
#3AED45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #959D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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