#8C8B17#8C8B17
#8C8B17 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.127 H 109.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8B17 |
|---|---|
| RGB | rgb(140, 139, 23) |
| HSL | hsl(59, 72%, 32%) |
| HSV | hsv(59, 84%, 55%) |
| CMYK | cmyk(0%, 0.7%, 83.6%, 45.1%) |
| CIE-LAB | lab(56.19, -12.77, 55.84) |
| CIE-LCH | lch(56.19, 57.28, 102.88°) |
| OKLab | oklab(61.8% -0.0417 0.1204) |
| OKLCH | oklch(61.8% 0.127 109.1) |
| XYZ | xyz(20.2033, 24.1032, 4.3986) |
| Luminance | 0.2410 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.16
Baby Poop Green
#8F9805
ΔE00 4.75
Pea Soup
#929901
ΔE00 4.99
Baby Shit Green
#889717
ΔE00 5.13
Swamp Green
#748500
ΔE00 5.83
Shit Green
#758000
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8B17 #17188C
analogous
#8C5117 #8C8B17 #538C17
triadic
#8C8B17 #178C8B #8B178C
tetradic
#8C8B17 #178C51 #17188C #8C1753
square
#8C8B17 #178C51 #17188C #8C1753
split-complementary
#8C8B17 #17538C #51178C
monochromatic
#232306 #57570E #8C8B17 #C1BF20 #DFDE3E
Accessibility & contrast
On white
3.61
#8C8B17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#8C8B17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8B17
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8B17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8B17 | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998822
Tritanopia (blue-blind)
#978176
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8c8b17; /* rgb */ color: rgb(140, 139, 23); /* oklch */ color: oklch(61.8% 0.127 109.1);
Tailwind
colors: {
custom: {
50: '#b1ac61',
500: '#8c8b17',
950: '#000000',
},
}SCSS
$custom: #8c8b17; $custom-light: #b1ac61; $custom-dark: #000000;
JSON
{
"hex": "#8c8b17",
"rgb": {
"r": 140,
"g": 139,
"b": 23
},
"hsl": {
"h": 59.487,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.61797,
"c": 0.12744,
"h": 109.1
},
"luminance": 0.24103
}Semantic roles & 50–950 ramp
primary
#8C8B17
secondary
#3F40BF
accent
#3BEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A