#959D17#959D17

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

Color values

HEX#959D17
RGBrgb(149, 157, 23)
HSLhsl(64, 74%, 35%)
HSVhsv(64, 85%, 62%)
CMYKcmyk(5.1%, 0%, 85.4%, 38.4%)
CIE-LABlab(62.14, -18.14, 61.18)
CIE-LCHlch(62.14, 63.81, 106.51°)
OKLaboklab(66.74% -0.0569 0.1316)
OKLCHoklch(66.74% 0.143 113.4)
XYZxyz(24.6069, 30.5659, 5.4140)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959D17 #1F179D
analogous
#9D6217 #959D17 #529D17
triadic
#959D17 #17959D #9D1795
tetradic
#959D17 #179D62 #1F179D #9D1752
square
#959D17 #179D62 #1F179D #9D1752
split-complementary
#959D17 #17529D #62179D
monochromatic
#303207 #62680F #959D17 #C8D21F #DBE44A

Accessibility & contrast

On white

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

On black

7.11
#959D17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959D17
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959D17#FFFFFF#000000##000000
##959D171.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #959d17;
/* rgb */ color: rgb(149, 157, 23);
/* oklch */ color: oklch(66.7% 0.143 113.4);
Tailwind
colors: {
  custom: {
    50: '#b8b964',
    500: '#959d17',
    950: '#000000',
  },
}
SCSS
$custom: #959d17;
$custom-light: #b8b964;
$custom-dark: #000000;
JSON
{
  "hex": "#959d17",
  "rgb": {
    "r": 149,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 63.582,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.66742,
    "c": 0.14339,
    "h": 113.4
  },
  "luminance": 0.30565
}

Semantic roles & 50–950 ramp

primary
#959D17
secondary
#514AC6
accent
#37F142
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #959D17

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

Preview Lab → · Contrast checker → · Palette generator →

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