#918F1F#918F1F
#918F1F is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.127 H 108.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #918F1F |
|---|---|
| RGB | rgb(145, 143, 31) |
| HSL | hsl(59, 65%, 35%) |
| HSV | hsv(59, 79%, 57%) |
| CMYK | cmyk(0%, 1.4%, 78.6%, 43.1%) |
| CIE-LAB | lab(57.81, -12.34, 55.06) |
| CIE-LCH | lch(57.81, 56.42, 102.63°) |
| OKLab | oklab(63.21% -0.0401 0.1201) |
| OKLCH | oklch(63.21% 0.127 108.5) |
| XYZ | xyz(21.7477, 25.7643, 5.1235) |
| Luminance | 0.2576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.99
Pea Soup
#929901
ΔE00 4.09
Baby Shit Green
#889717
ΔE00 4.66
Olive
#808000
ΔE00 5.66
Vomit
#A2A415
ΔE00 6.95
Swamp Green
#748500
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918F1F #1F2191
analogous
#91561F #918F1F #5A911F
triadic
#918F1F #1F918F #8F1F91
tetradic
#918F1F #1F9156 #1F2191 #911F5A
square
#918F1F #1F9156 #1F2191 #911F5A
split-complementary
#918F1F #1F5A91 #561F91
monochromatic
#2C2C09 #5F5D14 #918F1F #C3C12A #DAD751
Accessibility & contrast
On white
3.41
#918F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#918F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918F1F
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918F1F | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#9C857A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #918f1f; /* rgb */ color: rgb(145, 143, 31); /* oklch */ color: oklch(63.2% 0.127 108.5);
Tailwind
colors: {
custom: {
50: '#b5af65',
500: '#918f1f',
950: '#000000',
},
}SCSS
$custom: #918f1f; $custom-light: #b5af65; $custom-dark: #000000;
JSON
{
"hex": "#918f1f",
"rgb": {
"r": 145,
"g": 143,
"b": 31
},
"hsl": {
"h": 58.947,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.63209,
"c": 0.12658,
"h": 108.5
},
"luminance": 0.25764
}Semantic roles & 50–950 ramp
primary
#918F1F
secondary
#4F51BD
accent
#43E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A