#959220#959220

#959220 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#959220
RGBrgb(149, 146, 32)
HSLhsl(58, 65%, 35%)
HSVhsv(58, 79%, 58%)
CMYKcmyk(0%, 2%, 78.5%, 41.6%)
CIE-LABlab(59.02, -12.09, 55.96)
CIE-LCHlch(59.02, 57.25, 102.19°)
OKLaboklab(64.26% -0.0395 0.122)
OKLCHoklch(64.26% 0.128 107.9)
XYZxyz(22.9349, 27.0524, 5.3797)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959220 #202395
analogous
#955820 #959220 #5D9520
triadic
#959220 #209592 #922095
tetradic
#959220 #209558 #202395 #95205D
square
#959220 #209558 #202395 #95205D
split-complementary
#959220 #205D95 #582095
monochromatic
#302F0A #636115 #959220 #C7C32B #DAD755

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##959220#FFFFFF#000000##000000
##9592201.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)
#9F8C01
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#A0887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #959220;
/* rgb */ color: rgb(149, 146, 32);
/* oklch */ color: oklch(64.3% 0.128 107.9);
Tailwind
colors: {
  custom: {
    50: '#b8b166',
    500: '#959220',
    950: '#000000',
  },
}
SCSS
$custom: #959220;
$custom-light: #b8b166;
$custom-dark: #000000;
JSON
{
  "hex": "#959220",
  "rgb": {
    "r": 149,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 58.462,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6426,
    "c": 0.12825,
    "h": 107.9
  },
  "luminance": 0.27052
}

Semantic roles & 50–950 ramp

primary
#959220
secondary
#5355BE
accent
#44E840
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #959220

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

Preview Lab → · Contrast checker → · Palette generator →

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