#918A2C#918A2C
#918A2C is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.2% C 0.114 H 105.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #918A2C |
|---|---|
| RGB | rgb(145, 138, 44) |
| HSL | hsl(56, 53%, 37%) |
| HSV | hsv(56, 70%, 57%) |
| CMYK | cmyk(0%, 4.8%, 69.7%, 43.1%) |
| CIE-LAB | lab(56.47, -9.02, 48.96) |
| CIE-LCH | lch(56.47, 49.78, 100.44°) |
| OKLab | oklab(62.16% -0.0295 0.1096) |
| OKLCH | oklch(62.16% 0.114 105.1) |
| XYZ | xyz(21.2210, 24.3793, 5.9702) |
| Luminance | 0.2438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.23
Drab
#828344
ΔE00 6.53
Baby Poop Green
#8F9805
ΔE00 6.57
Pea Soup
#929901
ΔE00 6.69
Dark Khaki
#9B8F55
ΔE00 6.73
Baby Shit Green
#889717
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918A2C #2C3391
analogous
#91582C #918A2C #65912C
triadic
#918A2C #2C918A #8A2C91
tetradic
#918A2C #2C9158 #2C3391 #912C65
square
#918A2C #2C9158 #2C3391 #912C65
split-complementary
#918A2C #2C6591 #582C91
monochromatic
#333110 #625D1E #918A2C #C0B73A #D1C967
Accessibility & contrast
On white
3.57
#918A2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#918A2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918A2C
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918A2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918A2C | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96851E
Deuteranopia (green-blind)
#998932
Tritanopia (blue-blind)
#9C8177
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #918a2c; /* rgb */ color: rgb(145, 138, 44); /* oklch */ color: oklch(62.2% 0.114 105.1);
Tailwind
colors: {
custom: {
50: '#b4ab6b',
500: '#918a2c',
950: '#000000',
},
}SCSS
$custom: #918a2c; $custom-light: #b4ab6b; $custom-dark: #000000;
JSON
{
"hex": "#918a2c",
"rgb": {
"r": 145,
"g": 138,
"b": 44
},
"hsl": {
"h": 55.842,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.6216,
"c": 0.1135,
"h": 105.1
},
"luminance": 0.24379
}Semantic roles & 50–950 ramp
primary
#918A2C
secondary
#6267B7
accent
#55DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A