#918821#918821
#918821 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.119 H 104.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #918821 |
|---|---|
| RGB | rgb(145, 136, 33) |
| HSL | hsl(55, 63%, 35%) |
| HSV | hsv(55, 77%, 57%) |
| CMYK | cmyk(0%, 6.2%, 77.2%, 43.1%) |
| CIE-LAB | lab(55.83, -8.49, 52.57) |
| CIE-LCH | lch(55.83, 53.25, 99.18°) |
| OKLab | oklab(61.63% -0.0291 0.1151) |
| OKLCH | oklch(61.63% 0.119 104.2) |
| XYZ | xyz(20.7566, 23.7387, 4.9272) |
| Luminance | 0.2374 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.62
Baby Poop
#937C00
ΔE00 5.75
Diarrhea
#9F8303
ΔE00 6.12
Baby Poop Green
#8F9805
ΔE00 6.84
Pea Soup
#929901
ΔE00 6.89
Baby Poo
#AB9004
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918821 #212A91
analogous
#915021 #918821 #629121
triadic
#918821 #219188 #882191
tetradic
#918821 #219150 #212A91 #912162
square
#918821 #219150 #212A91 #912162
split-complementary
#918821 #216291 #502191
monochromatic
#2D2A0A #5F5916 #918821 #C3B72C #D8CE54
Accessibility & contrast
On white
3.65
#918821 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#918821 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918821
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918821 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918821 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95830A
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#9C7E74
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #918821; /* rgb */ color: rgb(145, 136, 33); /* oklch */ color: oklch(61.6% 0.119 104.2);
Tailwind
colors: {
custom: {
50: '#b5aa65',
500: '#918821',
950: '#000000',
},
}SCSS
$custom: #918821; $custom-light: #b5aa65; $custom-dark: #000000;
JSON
{
"hex": "#918821",
"rgb": {
"r": 145,
"g": 136,
"b": 33
},
"hsl": {
"h": 55.179,
"s": 62.921,
"l": 34.902
},
"oklch": {
"l": 0.61628,
"c": 0.11877,
"h": 104.2
},
"luminance": 0.23738
}Semantic roles & 50–950 ramp
primary
#918821
secondary
#525BBC
accent
#4FE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A