#918E27#918E27
#918E27 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.121 H 107.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #918E27 |
|---|---|
| RGB | rgb(145, 142, 39) |
| HSL | hsl(58, 58%, 36%) |
| HSV | hsv(58, 73%, 57%) |
| CMYK | cmyk(0%, 2.1%, 73.1%, 43.1%) |
| CIE-LAB | lab(57.57, -11.45, 52.03) |
| CIE-LCH | lch(57.57, 53.28, 102.41°) |
| OKLab | oklab(63.03% -0.0368 0.1152) |
| OKLCH | oklch(63.03% 0.121 107.7) |
| XYZ | xyz(21.7171, 25.5129, 5.6996) |
| Luminance | 0.2551 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.74
Pea Soup
#929901
ΔE00 4.88
Baby Shit Green
#889717
ΔE00 5.15
Olive
#808000
ΔE00 5.60
Swamp Green
#748500
ΔE00 7.06
Shit Green
#758000
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918E27 #272A91
analogous
#915927 #918E27 #5F9127
triadic
#918E27 #27918E #8E2791
tetradic
#918E27 #279159 #272A91 #91275F
square
#918E27 #279159 #272A91 #91275F
split-complementary
#918E27 #275F91 #592791
monochromatic
#31300D #615F1A #918E27 #C1BD34 #D4D15F
Accessibility & contrast
On white
3.44
#918E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#918E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918E27
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918E27 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8814
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#9C847A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #918e27; /* rgb */ color: rgb(145, 142, 39); /* oklch */ color: oklch(63.0% 0.121 107.7);
Tailwind
colors: {
custom: {
50: '#b4ae69',
500: '#918e27',
950: '#000000',
},
}SCSS
$custom: #918e27; $custom-light: #b4ae69; $custom-dark: #000000;
JSON
{
"hex": "#918e27",
"rgb": {
"r": 145,
"g": 142,
"b": 39
},
"hsl": {
"h": 58.302,
"s": 57.609,
"l": 36.078
},
"oklch": {
"l": 0.63031,
"c": 0.12092,
"h": 107.7
},
"luminance": 0.25512
}Semantic roles & 50–950 ramp
primary
#918E27
secondary
#5B5DB9
accent
#4BE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A