#928221#928221
#928221 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.4% C 0.114 H 99.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #928221 |
|---|---|
| RGB | rgb(146, 130, 33) |
| HSL | hsl(52, 63%, 35%) |
| HSV | hsv(52, 77%, 57%) |
| CMYK | cmyk(0%, 11%, 77.4%, 42.7%) |
| CIE-LAB | lab(54.23, -4.74, 51.11) |
| CIE-LCH | lch(54.23, 51.33, 95.30°) |
| OKLab | oklab(60.38% -0.0186 0.112) |
| OKLCH | oklch(60.38% 0.114 99.4) |
| XYZ | xyz(20.1122, 22.1871, 4.6617) |
| Luminance | 0.2219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.35
Diarrhea
#9F8303
ΔE00 4.41
Hazel
#8E7618
ΔE00 4.81
Puke Brown
#947706
ΔE00 5.36
Olive
#808000
ΔE00 5.46
Yellowish Brown
#9B7A01
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#928221 #213192
analogous
#924921 #928221 #6A9221
triadic
#928221 #219282 #822192
tetradic
#928221 #219249 #213192 #92216A
square
#928221 #219249 #213192 #92216A
split-complementary
#928221 #216A92 #492192
monochromatic
#2E290A #605616 #928221 #C4AE2C #D9C655
Accessibility & contrast
On white
3.86
#928221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#928221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #928221
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##928221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##928221 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E0D
Deuteranopia (green-blind)
#948428
Tritanopia (blue-blind)
#9E786F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #928221; /* rgb */ color: rgb(146, 130, 33); /* oklch */ color: oklch(60.4% 0.114 99.4);
Tailwind
colors: {
custom: {
50: '#b6a664',
500: '#928221',
950: '#000000',
},
}SCSS
$custom: #928221; $custom-light: #b6a664; $custom-dark: #000000;
JSON
{
"hex": "#928221",
"rgb": {
"r": 146,
"g": 130,
"b": 33
},
"hsl": {
"h": 51.504,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.60379,
"c": 0.11354,
"h": 99.4
},
"luminance": 0.22186
}Semantic roles & 50–950 ramp
primary
#928221
secondary
#5362BC
accent
#59E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A