#928222#928222
#928222 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.4% C 0.113 H 99.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #928222 |
|---|---|
| RGB | rgb(146, 130, 34) |
| HSL | hsl(51, 62%, 35%) |
| HSV | hsv(51, 77%, 57%) |
| CMYK | cmyk(0%, 11%, 76.7%, 42.7%) |
| CIE-LAB | lab(54.23, -4.70, 50.75) |
| CIE-LCH | lch(54.23, 50.97, 95.29°) |
| OKLab | oklab(60.39% -0.0184 0.1114) |
| OKLCH | oklch(60.39% 0.113 99.4) |
| XYZ | xyz(20.1264, 22.1927, 4.7366) |
| Luminance | 0.2219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.41
Diarrhea
#9F8303
ΔE00 4.47
Hazel
#8E7618
ΔE00 4.80
Puke Brown
#947706
ΔE00 5.37
Olive
#808000
ΔE00 5.50
Yellowish Brown
#9B7A01
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#928222 #223292
analogous
#924A22 #928222 #6A9222
triadic
#928222 #229282 #822292
tetradic
#928222 #22924A #223292 #92226A
square
#928222 #22924A #223292 #92226A
split-complementary
#928222 #226A92 #4A2292
monochromatic
#2F2A0B #605616 #928222 #C4AE2E #D8C557
Accessibility & contrast
On white
3.86
#928222 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#928222 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #928222
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##928222 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##928222 | 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)
#8F7E0F
Deuteranopia (green-blind)
#948428
Tritanopia (blue-blind)
#9E7870
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #928222; /* rgb */ color: rgb(146, 130, 34); /* oklch */ color: oklch(60.4% 0.113 99.4);
Tailwind
colors: {
custom: {
50: '#b6a665',
500: '#928222',
950: '#000000',
},
}SCSS
$custom: #928222; $custom-light: #b6a665; $custom-dark: #000000;
JSON
{
"hex": "#928222",
"rgb": {
"r": 146,
"g": 130,
"b": 34
},
"hsl": {
"h": 51.429,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.60386,
"c": 0.11294,
"h": 99.4
},
"luminance": 0.22192
}Semantic roles & 50–950 ramp
primary
#928222
secondary
#5463BC
accent
#5AE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A