#8D8F27#8D8F27
#8D8F27 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.123 H 110.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8F27 |
|---|---|
| RGB | rgb(141, 143, 39) |
| HSL | hsl(61, 57%, 36%) |
| HSV | hsv(61, 73%, 56%) |
| CMYK | cmyk(1.4%, 0%, 72.7%, 43.9%) |
| CIE-LAB | lab(57.52, -13.78, 51.86) |
| CIE-LCH | lch(57.52, 53.66, 104.88°) |
| OKLab | oklab(62.9% -0.0431 0.115) |
| OKLCH | oklch(62.9% 0.123 110.6) |
| XYZ | xyz(21.1739, 25.4547, 5.7169) |
| Luminance | 0.2545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.97
Baby Poop Green
#8F9805
ΔE00 4.08
Pea Soup
#929901
ΔE00 4.43
Olive
#808000
ΔE00 5.65
Swamp Green
#748500
ΔE00 6.12
Ugly Green
#7A9703
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8F27 #29278F
analogous
#8F5D27 #8D8F27 #598F27
triadic
#8D8F27 #278D8F #8F278D
tetradic
#8D8F27 #278F5D #29278F #8F2759
square
#8D8F27 #278F5D #29278F #8F2759
split-complementary
#8D8F27 #27598F #5D278F
monochromatic
#2E2F0D #5E5F1A #8D8F27 #BCBF34 #D1D35D
Accessibility & contrast
On white
3.45
#8D8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#8D8F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8F27
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8F27 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#9B8C2F
Tritanopia (blue-blind)
#97867B
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8d8f27; /* rgb */ color: rgb(141, 143, 39); /* oklch */ color: oklch(62.9% 0.123 110.6);
Tailwind
colors: {
custom: {
50: '#b1af69',
500: '#8d8f27',
950: '#000000',
},
}SCSS
$custom: #8d8f27; $custom-light: #b1af69; $custom-dark: #000000;
JSON
{
"hex": "#8d8f27",
"rgb": {
"r": 141,
"g": 143,
"b": 39
},
"hsl": {
"h": 61.154,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.62903,
"c": 0.12277,
"h": 110.6
},
"luminance": 0.25454
}Semantic roles & 50–950 ramp
primary
#8D8F27
secondary
#5B5AB8
accent
#47E04A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A