#8A8C17#8A8C17
#8A8C17 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.8% C 0.129 H 110.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8C17 |
|---|---|
| RGB | rgb(138, 140, 23) |
| HSL | hsl(61, 72%, 32%) |
| HSV | hsv(61, 84%, 55%) |
| CMYK | cmyk(1.4%, 0%, 83.6%, 45.1%) |
| CIE-LAB | lab(56.31, -14.21, 55.88) |
| CIE-LCH | lch(56.31, 57.65, 104.27°) |
| OKLab | oklab(61.85% -0.0455 0.1206) |
| OKLCH | oklch(61.85% 0.129 110.7) |
| XYZ | xyz(20.0147, 24.2219, 4.4314) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.27
Olive
#808000
ΔE00 4.35
Baby Shit Green
#889717
ΔE00 4.39
Pea Soup
#929901
ΔE00 4.61
Swamp Green
#748500
ΔE00 5.27
Shit Green
#758000
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8C17 #19178C
analogous
#8C5417 #8A8C17 #4F8C17
triadic
#8A8C17 #178A8C #8C178A
tetradic
#8A8C17 #178C54 #19178C #8C174F
square
#8A8C17 #178C54 #19178C #8C174F
split-complementary
#8A8C17 #174F8C #54178C
monochromatic
#222306 #56570E #8A8C17 #BEC120 #DDDF3E
Accessibility & contrast
On white
3.59
#8A8C17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#8A8C17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8C17
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8C17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8C17 | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#998823
Tritanopia (blue-blind)
#948377
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a8c17; /* rgb */ color: rgb(138, 140, 23); /* oklch */ color: oklch(61.8% 0.129 110.7);
Tailwind
colors: {
custom: {
50: '#b0ad61',
500: '#8a8c17',
950: '#000000',
},
}SCSS
$custom: #8a8c17; $custom-light: #b0ad61; $custom-dark: #000000;
JSON
{
"hex": "#8a8c17",
"rgb": {
"r": 138,
"g": 140,
"b": 23
},
"hsl": {
"h": 61.026,
"s": 71.779,
"l": 31.961
},
"oklch": {
"l": 0.61849,
"c": 0.12892,
"h": 110.7
},
"luminance": 0.24221
}Semantic roles & 50–950 ramp
primary
#8A8C17
secondary
#423FBF
accent
#39EF3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A