#959222#959222

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

Color values

HEX#959222
RGBrgb(149, 146, 34)
HSLhsl(58, 63%, 36%)
HSVhsv(58, 77%, 58%)
CMYKcmyk(0%, 2%, 77.2%, 41.6%)
CIE-LABlab(59.03, -12.01, 55.31)
CIE-LCHlch(59.03, 56.60, 102.25°)
OKLaboklab(64.27% -0.0391 0.121)
OKLCHoklch(64.27% 0.127 107.9)
XYZxyz(22.9630, 27.0636, 5.5273)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959222 #222595
analogous
#955822 #959222 #5E9522
triadic
#959222 #229592 #922295
tetradic
#959222 #229558 #222595 #95225E
square
#959222 #229558 #222595 #95225E
split-complementary
#959222 #225E95 #582295
monochromatic
#31300B #636117 #959222 #C7C32D #D9D658

Accessibility & contrast

On white

3.27
#959222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##959222#FFFFFF#000000##000000
##9592221.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #959222;
/* rgb */ color: rgb(149, 146, 34);
/* oklch */ color: oklch(64.3% 0.127 107.9);
Tailwind
colors: {
  custom: {
    50: '#b8b167',
    500: '#959222',
    950: '#000000',
  },
}
SCSS
$custom: #959222;
$custom-light: #b8b167;
$custom-dark: #000000;
JSON
{
  "hex": "#959222",
  "rgb": {
    "r": 149,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 58.435,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64272,
    "c": 0.12718,
    "h": 107.9
  },
  "luminance": 0.27063
}

Semantic roles & 50–950 ramp

primary
#959222
secondary
#5658BD
accent
#46E642
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #959222

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

Preview Lab → · Contrast checker → · Palette generator →

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