#968221#968221

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

Color values

HEX#968221
RGBrgb(150, 130, 33)
HSLhsl(50, 64%, 36%)
HSVhsv(50, 78%, 59%)
CMYKcmyk(0%, 13.3%, 78%, 41.2%)
CIE-LABlab(54.62, -2.90, 51.62)
CIE-LCHlch(54.62, 51.70, 93.21°)
OKLaboklab(60.78% -0.0136 0.1129)
OKLCHoklch(60.78% 0.114 96.9)
XYZxyz(20.8359, 22.5602, 4.6956)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968221 #213596
analogous
#964821 #968221 #6F9621
triadic
#968221 #219682 #822196
tetradic
#968221 #219648 #213596 #96216F
square
#968221 #219648 #213596 #96216F
split-complementary
#968221 #216F96 #482196
monochromatic
#322B0B #645716 #968221 #C8AD2C #DAC457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##968221#FFFFFF#000000##000000
##9682211.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)
#907F0D
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968221;
/* rgb */ color: rgb(150, 130, 33);
/* oklch */ color: oklch(60.8% 0.114 96.9);
Tailwind
colors: {
  custom: {
    50: '#b9a564',
    500: '#968221',
    950: '#000000',
  },
}
SCSS
$custom: #968221;
$custom-light: #b9a564;
$custom-dark: #000000;
JSON
{
  "hex": "#968221",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 49.744,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.11372,
    "h": 96.9
  },
  "luminance": 0.22559
}

Semantic roles & 50–950 ramp

primary
#968221
secondary
#5567BE
accent
#5DE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968221

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

Preview Lab → · Contrast checker → · Palette generator →

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