#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 |
|---|---|
| RGB | rgb(150, 130, 33) |
| HSL | hsl(50, 64%, 36%) |
| HSV | hsv(50, 78%, 59%) |
| CMYK | cmyk(0%, 13.3%, 78%, 41.2%) |
| CIE-LAB | lab(54.62, -2.90, 51.62) |
| CIE-LCH | lch(54.62, 51.70, 93.21°) |
| OKLab | oklab(60.78% -0.0136 0.1129) |
| OKLCH | oklch(60.78% 0.114 96.9) |
| XYZ | xyz(20.8359, 22.5602, 4.6956) |
| Luminance | 0.2256 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.86
Diarrhea
#9F8303
ΔE00 3.32
Hazel
#8E7618
ΔE00 4.49
Puke Brown
#947706
ΔE00 4.62
Yellowish Brown
#9B7A01
ΔE00 4.75
Dark Mustard
#A88905
ΔE00 5.16
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 |
|---|---|---|---|---|
| ##968221 | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.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