#918C2A#918C2A
#918C2A is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.6% C 0.117 H 106.4°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #918C2A |
|---|---|
| RGB | rgb(145, 140, 42) |
| HSL | hsl(57, 55%, 37%) |
| HSV | hsv(57, 71%, 57%) |
| CMYK | cmyk(0%, 3.4%, 71%, 43.1%) |
| CIE-LAB | lab(57.02, -10.22, 50.33) |
| CIE-LCH | lch(57.02, 51.36, 101.47°) |
| OKLab | oklab(62.6% -0.0331 0.1121) |
| OKLCH | oklch(62.6% 0.117 106.4) |
| XYZ | xyz(21.4739, 24.9438, 5.8735) |
| Luminance | 0.2494 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.36
Baby Poop Green
#8F9805
ΔE00 5.67
Pea Soup
#929901
ΔE00 5.80
Baby Shit Green
#889717
ΔE00 6.01
Drab
#828344
ΔE00 6.94
Dark Khaki
#9B8F55
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918C2A #2A2F91
analogous
#91592A #918C2A #63912A
triadic
#918C2A #2A918C #8C2A91
tetradic
#918C2A #2A9159 #2A2F91 #912A63
square
#918C2A #2A9159 #2A2F91 #912A63
split-complementary
#918C2A #2A6391 #592A91
monochromatic
#32300F #625E1C #918C2A #C0BA38 #D2CD63
Accessibility & contrast
On white
3.51
#918C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#918C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918C2A
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918C2A | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98871A
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#9C8379
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #918c2a; /* rgb */ color: rgb(145, 140, 42); /* oklch */ color: oklch(62.6% 0.117 106.4);
Tailwind
colors: {
custom: {
50: '#b4ad6a',
500: '#918c2a',
950: '#000000',
},
}SCSS
$custom: #918c2a; $custom-light: #b4ad6a; $custom-dark: #000000;
JSON
{
"hex": "#918c2a",
"rgb": {
"r": 145,
"g": 140,
"b": 42
},
"hsl": {
"h": 57.087,
"s": 55.08,
"l": 36.667
},
"oklch": {
"l": 0.62598,
"c": 0.1169,
"h": 106.4
},
"luminance": 0.24943
}Semantic roles & 50–950 ramp
primary
#918C2A
secondary
#5F63B8
accent
#51DE49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A