#8A8B18#8A8B18
#8A8B18 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.127 H 110.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8B18 |
|---|---|
| RGB | rgb(138, 139, 24) |
| HSL | hsl(61, 71%, 32%) |
| HSV | hsv(61, 83%, 55%) |
| CMYK | cmyk(0.7%, 0%, 82.7%, 45.5%) |
| CIE-LAB | lab(56.02, -13.65, 55.35) |
| CIE-LCH | lch(56.02, 57.01, 103.85°) |
| OKLab | oklab(61.62% -0.0439 0.1197) |
| OKLCH | oklch(61.62% 0.127 110.2) |
| XYZ | xyz(19.8795, 23.9351, 4.4367) |
| Luminance | 0.2393 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.05
Baby Poop Green
#8F9805
ΔE00 4.66
Baby Shit Green
#889717
ΔE00 4.79
Pea Soup
#929901
ΔE00 4.98
Swamp Green
#748500
ΔE00 5.29
Shit Green
#758000
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8B18 #19188B
analogous
#8B5318 #8A8B18 #518B18
triadic
#8A8B18 #188A8B #8B188A
tetradic
#8A8B18 #188B53 #19188B #8B1851
square
#8A8B18 #188B53 #19188B #8B1851
split-complementary
#8A8B18 #18518B #53188B
monochromatic
#222306 #56570F #8A8B18 #BEBF21 #DDDE3F
Accessibility & contrast
On white
3.63
#8A8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#8A8B18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8B18
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8B18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8B18 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#948276
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a8b18; /* rgb */ color: rgb(138, 139, 24); /* oklch */ color: oklch(61.6% 0.127 110.2);
Tailwind
colors: {
custom: {
50: '#b0ac61',
500: '#8a8b18',
950: '#000000',
},
}SCSS
$custom: #8a8b18; $custom-light: #b0ac61; $custom-dark: #000000;
JSON
{
"hex": "#8a8b18",
"rgb": {
"r": 138,
"g": 139,
"b": 24
},
"hsl": {
"h": 60.522,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.61621,
"c": 0.12747,
"h": 110.2
},
"luminance": 0.23934
}Semantic roles & 50–950 ramp
primary
#8A8B18
secondary
#4240BE
accent
#3AED3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A