#918F24#918F24
#918F24 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.124 H 108.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #918F24 |
|---|---|
| RGB | rgb(145, 143, 36) |
| HSL | hsl(59, 60%, 35%) |
| HSV | hsv(59, 75%, 57%) |
| CMYK | cmyk(0%, 1.4%, 75.2%, 43.1%) |
| CIE-LAB | lab(57.84, -12.12, 53.39) |
| CIE-LCH | lch(57.84, 54.75, 102.80°) |
| OKLab | oklab(63.24% -0.039 0.1175) |
| OKLCH | oklch(63.24% 0.124 108.4) |
| XYZ | xyz(21.8188, 25.7927, 5.4979) |
| Luminance | 0.2579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.21
Pea Soup
#929901
ΔE00 4.35
Baby Shit Green
#889717
ΔE00 4.71
Olive
#808000
ΔE00 5.75
Swamp Green
#748500
ΔE00 7.00
Vomit
#A2A415
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918F24 #242691
analogous
#915824 #918F24 #5C9124
triadic
#918F24 #24918F #8F2491
tetradic
#918F24 #249158 #242691 #91245C
square
#918F24 #249158 #242691 #91245C
split-complementary
#918F24 #245C91 #582491
monochromatic
#2F2E0C #605F18 #918F24 #C2BF30 #D6D459
Accessibility & contrast
On white
3.41
#918F24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#918F24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918F24
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918F24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918F24 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#9C857B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #918f24; /* rgb */ color: rgb(145, 143, 36); /* oklch */ color: oklch(63.2% 0.124 108.4);
Tailwind
colors: {
custom: {
50: '#b5af67',
500: '#918f24',
950: '#000000',
},
}SCSS
$custom: #918f24; $custom-light: #b5af67; $custom-dark: #000000;
JSON
{
"hex": "#918f24",
"rgb": {
"r": 145,
"g": 143,
"b": 36
},
"hsl": {
"h": 58.899,
"s": 60.221,
"l": 35.49
},
"oklch": {
"l": 0.63239,
"c": 0.12378,
"h": 108.4
},
"luminance": 0.25792
}Semantic roles & 50–950 ramp
primary
#918F24
secondary
#5658BA
accent
#47E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A