#8A8C24#8A8C24
#8A8C24 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.9% C 0.122 H 110.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8C24 |
|---|---|
| RGB | rgb(138, 140, 36) |
| HSL | hsl(61, 59%, 35%) |
| HSV | hsv(61, 74%, 55%) |
| CMYK | cmyk(1.4%, 0%, 74.3%, 45.1%) |
| CIE-LAB | lab(56.37, -13.68, 51.79) |
| CIE-LCH | lch(56.37, 53.56, 104.80°) |
| OKLab | oklab(61.92% -0.043 0.1143) |
| OKLCH | oklch(61.92% 0.122 110.6) |
| XYZ | xyz(20.1784, 24.2874, 5.2937) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.56
Olive
#808000
ΔE00 4.66
Baby Poop Green
#8F9805
ΔE00 4.80
Pea Soup
#929901
ΔE00 5.19
Swamp Green
#748500
ΔE00 5.36
Shit Green
#758000
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8C24 #26248C
analogous
#8C5A24 #8A8C24 #568C24
triadic
#8A8C24 #248A8C #8C248A
tetradic
#8A8C24 #248C5A #26248C #8C2456
square
#8A8C24 #248C5A #26248C #8C2456
split-complementary
#8A8C24 #24568C #5A248C
monochromatic
#2A2B0B #5A5B17 #8A8C24 #BABD31 #D1D457
Accessibility & contrast
On white
3.59
#8A8C24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#8A8C24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8C24
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8C24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8C24 | 1.00 | 3.59 | 5.86 | 5.86 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97860F
Deuteranopia (green-blind)
#98892C
Tritanopia (blue-blind)
#948378
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a8c24; /* rgb */ color: rgb(138, 140, 36); /* oklch */ color: oklch(61.9% 0.122 110.6);
Tailwind
colors: {
custom: {
50: '#afad67',
500: '#8a8c24',
950: '#000000',
},
}SCSS
$custom: #8a8c24; $custom-light: #afad67; $custom-dark: #000000;
JSON
{
"hex": "#8a8c24",
"rgb": {
"r": 138,
"g": 140,
"b": 36
},
"hsl": {
"h": 61.154,
"s": 59.091,
"l": 34.51
},
"oklch": {
"l": 0.61922,
"c": 0.12215,
"h": 110.6
},
"luminance": 0.24287
}Semantic roles & 50–950 ramp
primary
#8A8C24
secondary
#5654B8
accent
#46E249
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A