#959921#959921

#959921 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.9% C 0.135 H 111.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#959921
RGBrgb(149, 153, 33)
HSLhsl(62, 65%, 36%)
HSVhsv(62, 78%, 60%)
CMYKcmyk(2.6%, 0%, 78.4%, 40%)
CIE-LABlab(61.03, -15.73, 57.46)
CIE-LCHlch(61.03, 59.57, 105.31°)
OKLaboklab(65.87% -0.0496 0.1254)
OKLCHoklch(65.87% 0.135 111.6)
XYZxyz(24.0610, 29.2825, 5.8232)
Luminance0.2928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959921 #252199
analogous
#996121 #959921 #599921
triadic
#959921 #219599 #992195
tetradic
#959921 #219961 #252199 #992159
square
#959921 #219961 #252199 #992159
split-complementary
#959921 #215999 #612199
monochromatic
#33340B #646716 #959921 #C6CB2C #D7DB59

Accessibility & contrast

On white

3.06
#959921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#959921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #959921
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959921#FFFFFF#000000##000000
##9599211.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#A08F83
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #959921;
/* rgb */ color: rgb(149, 153, 33);
/* oklch */ color: oklch(65.9% 0.135 111.6);
Tailwind
colors: {
  custom: {
    50: '#b8b667',
    500: '#959921',
    950: '#000000',
  },
}
SCSS
$custom: #959921;
$custom-light: #b8b667;
$custom-dark: #000000;
JSON
{
  "hex": "#959921",
  "rgb": {
    "r": 149,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 62,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65866,
    "c": 0.13484,
    "h": 111.6
  },
  "luminance": 0.29282
}

Semantic roles & 50–950 ramp

primary
#959921
secondary
#5A56BF
accent
#40E846
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #959921

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

Preview Lab → · Contrast checker → · Palette generator →

#959921 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva