#918D2F#918D2F
#918D2F is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.9% C 0.114 H 106.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #918D2F |
|---|---|
| RGB | rgb(145, 141, 47) |
| HSL | hsl(58, 51%, 38%) |
| HSV | hsv(58, 68%, 57%) |
| CMYK | cmyk(0%, 2.8%, 67.6%, 43.1%) |
| CIE-LAB | lab(57.34, -10.47, 48.60) |
| CIE-LCH | lch(57.34, 49.71, 102.15°) |
| OKLab | oklab(62.87% -0.0332 0.1094) |
| OKLCH | oklch(62.87% 0.114 106.9) |
| XYZ | xyz(21.7158, 25.2755, 6.4235) |
| Luminance | 0.2527 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.67
Olive
#808000
ΔE00 5.78
Pea Soup
#929901
ΔE00 5.84
Baby Shit Green
#889717
ΔE00 5.84
Drab
#828344
ΔE00 6.59
Dark Khaki
#9B8F55
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918D2F #2F3391
analogous
#915C2F #918D2F #64912F
triadic
#918D2F #2F918D #8D2F91
tetradic
#918D2F #2F915C #2F3391 #912F64
square
#918D2F #2F915C #2F3391 #912F64
split-complementary
#918D2F #2F6491 #5C2F91
monochromatic
#353311 #636020 #918D2F #BFBA3E #CFCB6B
Accessibility & contrast
On white
3.47
#918D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#918D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918D2F
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918D2F | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998822
Deuteranopia (green-blind)
#9B8B35
Tritanopia (blue-blind)
#9B847A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #918d2f; /* rgb */ color: rgb(145, 141, 47); /* oklch */ color: oklch(62.9% 0.114 106.9);
Tailwind
colors: {
custom: {
50: '#b4ae6d',
500: '#918d2f',
950: '#000000',
},
}SCSS
$custom: #918d2f; $custom-light: #b4ae6d; $custom-dark: #000000;
JSON
{
"hex": "#918d2f",
"rgb": {
"r": 145,
"g": 141,
"b": 47
},
"hsl": {
"h": 57.551,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.62866,
"c": 0.11428,
"h": 106.9
},
"luminance": 0.25275
}Semantic roles & 50–950 ramp
primary
#918D2F
secondary
#6569B6
accent
#53DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A