#918D1F#918D1F
#918D1F is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.125 H 107.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #918D1F |
|---|---|
| RGB | rgb(145, 141, 31) |
| HSL | hsl(58, 65%, 35%) |
| HSV | hsv(58, 79%, 57%) |
| CMYK | cmyk(0%, 2.8%, 78.6%, 43.1%) |
| CIE-LAB | lab(57.24, -11.27, 54.54) |
| CIE-LCH | lch(57.24, 55.69, 101.68°) |
| OKLab | oklab(62.75% -0.0371 0.119) |
| OKLCH | oklch(62.75% 0.125 107.3) |
| XYZ | xyz(21.4501, 25.1692, 5.0243) |
| Luminance | 0.2517 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.75
Pea Soup
#929901
ΔE00 4.83
Olive
#808000
ΔE00 5.22
Baby Shit Green
#889717
ΔE00 5.40
Swamp Green
#748500
ΔE00 7.05
Shit Green
#758000
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918D1F #1F2391
analogous
#91541F #918D1F #5C911F
triadic
#918D1F #1F918D #8D1F91
tetradic
#918D1F #1F9154 #1F2391 #911F5C
square
#918D1F #1F9154 #1F2391 #911F5C
split-complementary
#918D1F #1F5C91 #541F91
monochromatic
#2C2B09 #5F5C14 #918D1F #C3BE2A #DAD551
Accessibility & contrast
On white
3.48
#918D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#918D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918D1F
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918D1F | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#9C8B28
Tritanopia (blue-blind)
#9C8379
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #918d1f; /* rgb */ color: rgb(145, 141, 31); /* oklch */ color: oklch(62.8% 0.125 107.3);
Tailwind
colors: {
custom: {
50: '#b5ae65',
500: '#918d1f',
950: '#000000',
},
}SCSS
$custom: #918d1f; $custom-light: #b5ae65; $custom-dark: #000000;
JSON
{
"hex": "#918d1f",
"rgb": {
"r": 145,
"g": 141,
"b": 31
},
"hsl": {
"h": 57.895,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.62752,
"c": 0.12461,
"h": 107.3
},
"luminance": 0.25168
}Semantic roles & 50–950 ramp
primary
#918D1F
secondary
#4F53BD
accent
#46E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A