#959221#959221

#959221 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.128 H 107.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#959221
RGBrgb(149, 146, 33)
HSLhsl(58, 64%, 36%)
HSVhsv(58, 78%, 58%)
CMYKcmyk(0%, 2%, 77.9%, 41.6%)
CIE-LABlab(59.03, -12.05, 55.64)
CIE-LCHlch(59.03, 56.93, 102.22°)
OKLaboklab(64.27% -0.0393 0.1215)
OKLCHoklch(64.27% 0.128 107.9)
XYZxyz(22.9487, 27.0579, 5.4524)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959221 #212495
analogous
#955821 #959221 #5E9521
triadic
#959221 #219592 #922195
tetradic
#959221 #219558 #212495 #95215E
square
#959221 #219558 #212495 #95215E
split-complementary
#959221 #215E95 #582195
monochromatic
#31300B #636116 #959221 #C7C32C #DAD657

Accessibility & contrast

On white

3.28
#959221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#959221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #959221
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959221#FFFFFF#000000##000000
##9592211.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C03
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#A0887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #959221;
/* rgb */ color: rgb(149, 146, 33);
/* oklch */ color: oklch(64.3% 0.128 107.9);
Tailwind
colors: {
  custom: {
    50: '#b8b166',
    500: '#959221',
    950: '#000000',
  },
}
SCSS
$custom: #959221;
$custom-light: #b8b166;
$custom-dark: #000000;
JSON
{
  "hex": "#959221",
  "rgb": {
    "r": 149,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 58.448,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64266,
    "c": 0.12772,
    "h": 107.9
  },
  "luminance": 0.27057
}

Semantic roles & 50–950 ramp

primary
#959221
secondary
#5457BE
accent
#45E741
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #959221

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

Preview Lab → · Contrast checker → · Palette generator →

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