#8C8F15#8C8F15
#8C8F15 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.7% C 0.132 H 111.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8F15 |
|---|---|
| RGB | rgb(140, 143, 21) |
| HSL | hsl(61, 74%, 32%) |
| HSV | hsv(61, 85%, 56%) |
| CMYK | cmyk(2.1%, 0%, 85.3%, 43.9%) |
| CIE-LAB | lab(57.34, -14.95, 57.34) |
| CIE-LCH | lch(57.34, 59.25, 104.61°) |
| OKLab | oklab(62.72% -0.0478 0.1233) |
| OKLCH | oklch(62.72% 0.132 111.2) |
| XYZ | xyz(20.7738, 25.2751, 4.4936) |
| Luminance | 0.2527 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.22
Pea Soup
#929901
ΔE00 3.55
Baby Shit Green
#889717
ΔE00 3.59
Olive
#808000
ΔE00 5.33
Swamp Green
#748500
ΔE00 5.84
Ugly Green
#7A9703
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8F15 #18158F
analogous
#8F5515 #8C8F15 #4F8F15
triadic
#8C8F15 #158C8F #8F158C
tetradic
#8C8F15 #158F55 #18158F #8F154F
square
#8C8F15 #158F55 #18158F #8F154F
split-complementary
#8C8F15 #154F8F #55158F
monochromatic
#242405 #585A0D #8C8F15 #C0C41D #DEE23C
Accessibility & contrast
On white
3.47
#8C8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#8C8F15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8F15
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8F15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8F15 | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8B22
Tritanopia (blue-blind)
#96857A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8c8f15; /* rgb */ color: rgb(140, 143, 21); /* oklch */ color: oklch(62.7% 0.132 111.2);
Tailwind
colors: {
custom: {
50: '#b1af61',
500: '#8c8f15',
950: '#000000',
},
}SCSS
$custom: #8c8f15; $custom-light: #b1af61; $custom-dark: #000000;
JSON
{
"hex": "#8c8f15",
"rgb": {
"r": 140,
"g": 143,
"b": 21
},
"hsl": {
"h": 61.475,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.62715,
"c": 0.13227,
"h": 111.2
},
"luminance": 0.25275
}Semantic roles & 50–950 ramp
primary
#8C8F15
secondary
#413EC2
accent
#37F13B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A