#918F2F#918F2F
#918F2F is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.3% C 0.116 H 108.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #918F2F |
|---|---|
| RGB | rgb(145, 143, 47) |
| HSL | hsl(59, 51%, 38%) |
| HSV | hsv(59, 68%, 57%) |
| CMYK | cmyk(0%, 1.4%, 67.6%, 43.1%) |
| CIE-LAB | lab(57.91, -11.54, 49.18) |
| CIE-LCH | lch(57.91, 50.52, 103.20°) |
| OKLab | oklab(63.32% -0.0362 0.1106) |
| OKLCH | oklch(63.32% 0.116 108.1) |
| XYZ | xyz(22.0134, 25.8706, 6.5227) |
| Luminance | 0.2587 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.98
Baby Shit Green
#889717
ΔE00 5.10
Pea Soup
#929901
ΔE00 5.18
Olive
#808000
ΔE00 6.15
Drab
#828344
ΔE00 6.94
Dark Khaki
#9B8F55
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918F2F #2F3191
analogous
#915E2F #918F2F #62912F
triadic
#918F2F #2F918F #8F2F91
tetradic
#918F2F #2F915E #2F3191 #912F62
square
#918F2F #2F915E #2F3191 #912F62
split-complementary
#918F2F #2F6291 #5E2F91
monochromatic
#353411 #636120 #918F2F #BFBD3E #CFCD6B
Accessibility & contrast
On white
3.40
#918F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#918F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918F2F
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918F2F | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8921
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#9B867C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #918f2f; /* rgb */ color: rgb(145, 143, 47); /* oklch */ color: oklch(63.3% 0.116 108.1);
Tailwind
colors: {
custom: {
50: '#b4af6d',
500: '#918f2f',
950: '#000000',
},
}SCSS
$custom: #918f2f; $custom-light: #b4af6d; $custom-dark: #000000;
JSON
{
"hex": "#918f2f",
"rgb": {
"r": 145,
"g": 143,
"b": 47
},
"hsl": {
"h": 58.776,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.63322,
"c": 0.11637,
"h": 108.1
},
"luminance": 0.2587
}Semantic roles & 50–950 ramp
primary
#918F2F
secondary
#6567B6
accent
#50DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A