#8C8F17#8C8F17
#8C8F17 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.7% C 0.131 H 111.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8F17 |
|---|---|
| RGB | rgb(140, 143, 23) |
| HSL | hsl(62, 72%, 33%) |
| HSV | hsv(62, 84%, 56%) |
| CMYK | cmyk(2.1%, 0%, 83.9%, 43.9%) |
| CIE-LAB | lab(57.35, -14.89, 56.83) |
| CIE-LCH | lch(57.35, 58.75, 104.68°) |
| OKLab | oklab(62.72% -0.0475 0.1226) |
| OKLCH | oklch(62.72% 0.131 111.2) |
| XYZ | xyz(20.7931, 25.2828, 4.5952) |
| Luminance | 0.2528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.27
Baby Shit Green
#889717
ΔE00 3.58
Pea Soup
#929901
ΔE00 3.61
Olive
#808000
ΔE00 5.34
Swamp Green
#748500
ΔE00 5.83
Ugly Green
#7A9703
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8F17 #1A178F
analogous
#8F5617 #8C8F17 #508F17
triadic
#8C8F17 #178C8F #8F178C
tetradic
#8C8F17 #178F56 #1A178F #8F1750
square
#8C8F17 #178F56 #1A178F #8F1750
split-complementary
#8C8F17 #17508F #56178F
monochromatic
#252606 #585A0F #8C8F17 #C0C41F #DCE040
Accessibility & contrast
On white
3.47
#8C8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#8C8F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8F17
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8F17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8F17 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8B23
Tritanopia (blue-blind)
#96857A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8c8f17; /* rgb */ color: rgb(140, 143, 23); /* oklch */ color: oklch(62.7% 0.131 111.2);
Tailwind
colors: {
custom: {
50: '#b1af62',
500: '#8c8f17',
950: '#000000',
},
}SCSS
$custom: #8c8f17; $custom-light: #b1af62; $custom-dark: #000000;
JSON
{
"hex": "#8c8f17",
"rgb": {
"r": 140,
"g": 143,
"b": 23
},
"hsl": {
"h": 61.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.62723,
"c": 0.13148,
"h": 111.2
},
"luminance": 0.25282
}Semantic roles & 50–950 ramp
primary
#8C8F17
secondary
#4441C1
accent
#39EF3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A