#918222#918222
#918222 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.113 H 100.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #918222 |
|---|---|
| RGB | rgb(145, 130, 34) |
| HSL | hsl(52, 62%, 35%) |
| HSV | hsv(52, 77%, 57%) |
| CMYK | cmyk(0%, 10.3%, 76.6%, 43.1%) |
| CIE-LAB | lab(54.13, -5.16, 50.62) |
| CIE-LCH | lch(54.13, 50.89, 95.82°) |
| OKLab | oklab(60.29% -0.0196 0.1112) |
| OKLCH | oklch(60.29% 0.113 100) |
| XYZ | xyz(19.9494, 22.1015, 4.7283) |
| Luminance | 0.2210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.60
Diarrhea
#9F8303
ΔE00 4.76
Hazel
#8E7618
ΔE00 4.93
Olive
#808000
ΔE00 5.21
Puke Brown
#947706
ΔE00 5.59
Yellowish Brown
#9B7A01
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918222 #223191
analogous
#914B22 #918222 #689122
triadic
#918222 #229182 #822291
tetradic
#918222 #22914B #223191 #912268
square
#918222 #22914B #223191 #912268
split-complementary
#918222 #226891 #4B2291
monochromatic
#2E290B #5F5616 #918222 #C3AE2E #D7C656
Accessibility & contrast
On white
3.87
#918222 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#918222 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918222
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918222 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918222 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 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)
#8F7E10
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#9D7870
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #918222; /* rgb */ color: rgb(145, 130, 34); /* oklch */ color: oklch(60.3% 0.113 100.0);
Tailwind
colors: {
custom: {
50: '#b5a665',
500: '#918222',
950: '#000000',
},
}SCSS
$custom: #918222; $custom-light: #b5a665; $custom-dark: #000000;
JSON
{
"hex": "#918222",
"rgb": {
"r": 145,
"g": 130,
"b": 34
},
"hsl": {
"h": 51.892,
"s": 62.011,
"l": 35.098
},
"oklch": {
"l": 0.60286,
"c": 0.11293,
"h": 100
},
"luminance": 0.221
}Semantic roles & 50–950 ramp
primary
#918222
secondary
#5362BB
accent
#59E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A