#918721#918721
#918721 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.118 H 103.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #918721 |
|---|---|
| RGB | rgb(145, 135, 33) |
| HSL | hsl(55, 63%, 35%) |
| HSV | hsv(55, 77%, 57%) |
| CMYK | cmyk(0%, 6.9%, 77.2%, 43.1%) |
| CIE-LAB | lab(55.54, -7.95, 52.30) |
| CIE-LCH | lch(55.54, 52.90, 98.64°) |
| OKLab | oklab(61.4% -0.0276 0.1146) |
| OKLCH | oklch(61.4% 0.118 103.5) |
| XYZ | xyz(20.6165, 23.4584, 4.8805) |
| Luminance | 0.2346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.61
Baby Poop
#937C00
ΔE00 5.37
Diarrhea
#9F8303
ΔE00 5.83
Dark Mustard
#A88905
ΔE00 7.02
Baby Poo
#AB9004
ΔE00 7.10
Hazel
#8E7618
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918721 #212B91
analogous
#914F21 #918721 #639121
triadic
#918721 #219187 #872191
tetradic
#918721 #21914F #212B91 #912163
square
#918721 #21914F #212B91 #912163
split-complementary
#918721 #216391 #4F2191
monochromatic
#2D2A0A #5F5916 #918721 #C3B52C #D8CC54
Accessibility & contrast
On white
3.69
#918721 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#918721 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918721
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918721 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918721 | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94820B
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#9C7D74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #918721; /* rgb */ color: rgb(145, 135, 33); /* oklch */ color: oklch(61.4% 0.118 103.5);
Tailwind
colors: {
custom: {
50: '#b5a965',
500: '#918721',
950: '#000000',
},
}SCSS
$custom: #918721; $custom-light: #b5a965; $custom-dark: #000000;
JSON
{
"hex": "#918721",
"rgb": {
"r": 145,
"g": 135,
"b": 33
},
"hsl": {
"h": 54.643,
"s": 62.921,
"l": 34.902
},
"oklch": {
"l": 0.61402,
"c": 0.11786,
"h": 103.5
},
"luminance": 0.23457
}Semantic roles & 50–950 ramp
primary
#918721
secondary
#525BBC
accent
#50E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A