#918220#918220
#918220 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.114 H 100.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #918220 |
|---|---|
| RGB | rgb(145, 130, 32) |
| HSL | hsl(52, 64%, 35%) |
| HSV | hsv(52, 78%, 57%) |
| CMYK | cmyk(0%, 10.3%, 77.9%, 43.1%) |
| CIE-LAB | lab(54.12, -5.25, 51.34) |
| CIE-LCH | lch(54.12, 51.61, 95.84°) |
| OKLab | oklab(60.27% -0.0201 0.1123) |
| OKLCH | oklch(60.27% 0.114 100.1) |
| XYZ | xyz(19.9214, 22.0903, 4.5807) |
| Luminance | 0.2209 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.49
Diarrhea
#9F8303
ΔE00 4.66
Hazel
#8E7618
ΔE00 4.95
Olive
#808000
ΔE00 5.13
Puke Brown
#947706
ΔE00 5.56
Yellowish Brown
#9B7A01
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918220 #202F91
analogous
#914920 #918220 #689120
triadic
#918220 #209182 #822091
tetradic
#918220 #209149 #202F91 #912068
square
#918220 #209149 #202F91 #912068
split-complementary
#918220 #206891 #492091
monochromatic
#2D280A #5F5515 #918220 #C3AF2B #D9C752
Accessibility & contrast
On white
3.88
#918220 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#918220 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918220
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918220 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918220 | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#938427
Tritanopia (blue-blind)
#9D786F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #918220; /* rgb */ color: rgb(145, 130, 32); /* oklch */ color: oklch(60.3% 0.114 100.1);
Tailwind
colors: {
custom: {
50: '#b5a664',
500: '#918220',
950: '#000000',
},
}SCSS
$custom: #918220; $custom-light: #b5a664; $custom-dark: #000000;
JSON
{
"hex": "#918220",
"rgb": {
"r": 145,
"g": 130,
"b": 32
},
"hsl": {
"h": 52.035,
"s": 63.842,
"l": 34.706
},
"oklch": {
"l": 0.60273,
"c": 0.11411,
"h": 100.1
},
"luminance": 0.22089
}Semantic roles & 50–950 ramp
primary
#918220
secondary
#515FBC
accent
#57E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A