#918837#918837
#918837 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.103 H 103.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #918837 |
|---|---|
| RGB | rgb(145, 136, 55) |
| HSL | hsl(54, 45%, 39%) |
| HSV | hsv(54, 62%, 57%) |
| CMYK | cmyk(0%, 6.2%, 62.1%, 43.1%) |
| CIE-LAB | lab(55.99, -7.22, 43.58) |
| CIE-LCH | lch(55.99, 44.17, 99.41°) |
| OKLab | oklab(61.81% -0.0231 0.1) |
| OKLCH | oklch(61.81% 0.103 103) |
| XYZ | xyz(21.1716, 23.9047, 7.1125) |
| Luminance | 0.2390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.28
Drab
#828344
ΔE00 5.30
Olive
#808000
ΔE00 6.12
Baby Poop
#937C00
ΔE00 6.96
Diarrhea
#9F8303
ΔE00 7.36
Hazel
#8E7618
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918837 #374091
analogous
#915B37 #918837 #6D9137
triadic
#918837 #379188 #883791
tetradic
#918837 #37915B #374091 #91376D
square
#918837 #37915B #374091 #91376D
split-complementary
#918837 #376D91 #5B3791
monochromatic
#383515 #655E26 #918837 #BBAF4B #CBC377
Accessibility & contrast
On white
3.63
#918837 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#918837 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918837
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918837 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918837 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94842E
Deuteranopia (green-blind)
#96883B
Tritanopia (blue-blind)
#9B7F77
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #918837; /* rgb */ color: rgb(145, 136, 55); /* oklch */ color: oklch(61.8% 0.103 103.0);
Tailwind
colors: {
custom: {
50: '#b4aa71',
500: '#918837',
950: '#000000',
},
}SCSS
$custom: #918837; $custom-light: #b4aa71; $custom-dark: #000000;
JSON
{
"hex": "#918837",
"rgb": {
"r": 145,
"g": 136,
"b": 55
},
"hsl": {
"h": 54,
"s": 45,
"l": 39.216
},
"oklch": {
"l": 0.61814,
"c": 0.10261,
"h": 103
},
"luminance": 0.23904
}Semantic roles & 50–950 ramp
primary
#918837
secondary
#7076B4
accent
#60D553
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B