#8C8F19#8C8F19
#8C8F19 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 | #8C8F19 |
|---|---|
| RGB | rgb(140, 143, 25) |
| HSL | hsl(62, 70%, 33%) |
| HSV | hsv(62, 83%, 56%) |
| CMYK | cmyk(2.1%, 0%, 82.5%, 43.9%) |
| CIE-LAB | lab(57.36, -14.82, 56.30) |
| CIE-LCH | lch(57.36, 58.22, 104.75°) |
| OKLab | oklab(62.73% -0.0472 0.1218) |
| OKLCH | oklch(62.73% 0.131 111.2) |
| XYZ | xyz(20.8139, 25.2911, 4.7048) |
| Luminance | 0.2529 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.33
Baby Shit Green
#889717
ΔE00 3.57
Pea Soup
#929901
ΔE00 3.67
Olive
#808000
ΔE00 5.35
Swamp Green
#748500
ΔE00 5.82
Ugly Green
#7A9703
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8F19 #1C198F
analogous
#8F5719 #8C8F19 #518F19
triadic
#8C8F19 #198C8F #8F198C
tetradic
#8C8F19 #198F57 #1C198F #8F1951
square
#8C8F19 #198F57 #1C198F #8F1951
split-complementary
#8C8F19 #19518F #57198F
monochromatic
#262707 #595B10 #8C8F19 #BFC322 #DADE44
Accessibility & contrast
On white
3.47
#8C8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#8C8F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8F19
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8F19 | 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)
#9C8B25
Tritanopia (blue-blind)
#96867A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8c8f19; /* rgb */ color: rgb(140, 143, 25); /* oklch */ color: oklch(62.7% 0.131 111.2);
Tailwind
colors: {
custom: {
50: '#b1af62',
500: '#8c8f19',
950: '#000000',
},
}SCSS
$custom: #8c8f19; $custom-light: #b1af62; $custom-dark: #000000;
JSON
{
"hex": "#8c8f19",
"rgb": {
"r": 140,
"g": 143,
"b": 25
},
"hsl": {
"h": 61.525,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.62732,
"c": 0.13063,
"h": 111.2
},
"luminance": 0.25291
}Semantic roles & 50–950 ramp
primary
#8C8F19
secondary
#4844BF
accent
#3BED3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A