#968220#968220

#968220 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.8% C 0.114 H 97.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#968220
RGBrgb(150, 130, 32)
HSLhsl(50, 65%, 36%)
HSVhsv(50, 79%, 59%)
CMYKcmyk(0%, 13.3%, 78.7%, 41.2%)
CIE-LABlab(54.61, -2.94, 51.97)
CIE-LCHlch(54.61, 52.05, 93.24°)
OKLaboklab(60.78% -0.0138 0.1134)
OKLCHoklch(60.78% 0.114 97)
XYZxyz(20.8221, 22.5547, 4.6230)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968220 #203496
analogous
#964720 #968220 #6F9620
triadic
#968220 #209682 #822096
tetradic
#968220 #209647 #203496 #96206F
square
#968220 #209647 #203496 #96206F
split-complementary
#968220 #206F96 #472096
monochromatic
#312B0A #645615 #968220 #C8AE2B #DBC456

Accessibility & contrast

On white

3.81
#968220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#968220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968220
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968220#FFFFFF#000000##000000
##9682201.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0B
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968220;
/* rgb */ color: rgb(150, 130, 32);
/* oklch */ color: oklch(60.8% 0.114 97.0);
Tailwind
colors: {
  custom: {
    50: '#b9a564',
    500: '#968220',
    950: '#000000',
  },
}
SCSS
$custom: #968220;
$custom-light: #b9a564;
$custom-dark: #000000;
JSON
{
  "hex": "#968220",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 49.831,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.11428,
    "h": 97
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#968220
secondary
#5365BE
accent
#5CE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968220

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

Preview Lab → · Contrast checker → · Palette generator →

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