#959F17#959F17

#959F17 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.145 H 114.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#959F17
RGBrgb(149, 159, 23)
HSLhsl(64, 75%, 36%)
HSVhsv(64, 86%, 62%)
CMYKcmyk(6.3%, 0%, 85.5%, 37.6%)
CIE-LABlab(62.72, -19.16, 61.66)
CIE-LCHlch(62.72, 64.57, 107.26°)
OKLaboklab(67.21% -0.0597 0.1327)
OKLCHoklch(67.21% 0.145 114.2)
XYZxyz(24.9480, 31.2482, 5.5277)
Luminance0.3125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959F17 #21179F
analogous
#9F6517 #959F17 #519F17
triadic
#959F17 #17959F #9F1795
tetradic
#959F17 #179F65 #21179F #9F1751
square
#959F17 #179F65 #21179F #9F1751
split-complementary
#959F17 #17519F #65179F
monochromatic
#313408 #636A0F #959F17 #C7D41F #DAE54B

Accessibility & contrast

On white

2.90
#959F17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#959F17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959F17
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959F17#FFFFFF#000000##000000
##959F171.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB9926
Tritanopia (blue-blind)
#A09587
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #959f17;
/* rgb */ color: rgb(149, 159, 23);
/* oklch */ color: oklch(67.2% 0.145 114.2);
Tailwind
colors: {
  custom: {
    50: '#b8bb64',
    500: '#959f17',
    950: '#000000',
  },
}
SCSS
$custom: #959f17;
$custom-light: #b8bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#959f17",
  "rgb": {
    "r": 149,
    "g": 159,
    "b": 23
  },
  "hsl": {
    "h": 64.412,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.67205,
    "c": 0.14549,
    "h": 114.2
  },
  "luminance": 0.31248
}

Semantic roles & 50–950 ramp

primary
#959F17
secondary
#544BC7
accent
#36F144
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #959F17

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

Preview Lab → · Contrast checker → · Palette generator →

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