#8A8F20#8A8F20
#8A8F20 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.128 H 112.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8F20 |
|---|---|
| RGB | rgb(138, 143, 32) |
| HSL | hsl(63, 63%, 34%) |
| HSV | hsv(63, 78%, 56%) |
| CMYK | cmyk(3.5%, 0%, 77.6%, 43.9%) |
| CIE-LAB | lab(57.22, -15.45, 53.98) |
| CIE-LCH | lch(57.22, 56.14, 105.97°) |
| OKLab | oklab(62.6% -0.0483 0.1182) |
| OKLCH | oklch(62.6% 0.128 112.2) |
| XYZ | xyz(20.5651, 25.1530, 5.1379) |
| Luminance | 0.2515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.30
Baby Poop Green
#8F9805
ΔE00 3.62
Pea Soup
#929901
ΔE00 4.09
Swamp Green
#748500
ΔE00 5.40
Olive
#808000
ΔE00 5.46
Ugly Green
#7A9703
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F20 #25208F
analogous
#8F5D20 #8A8F20 #538F20
triadic
#8A8F20 #208A8F #8F208A
tetradic
#8A8F20 #208F5D #25208F #8F2053
square
#8A8F20 #208F5D #25208F #8F2053
split-complementary
#8A8F20 #20538F #5D208F
monochromatic
#292B0A #5A5D15 #8A8F20 #BAC12B #D2D851
Accessibility & contrast
On white
3.48
#8A8F20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#8A8F20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F20
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F20 | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8803
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#94867A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8f20; /* rgb */ color: rgb(138, 143, 32); /* oklch */ color: oklch(62.6% 0.128 112.2);
Tailwind
colors: {
custom: {
50: '#afaf65',
500: '#8a8f20',
950: '#000000',
},
}SCSS
$custom: #8a8f20; $custom-light: #afaf65; $custom-dark: #000000;
JSON
{
"hex": "#8a8f20",
"rgb": {
"r": 138,
"g": 143,
"b": 32
},
"hsl": {
"h": 62.703,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.62595,
"c": 0.12771,
"h": 112.2
},
"luminance": 0.25152
}Semantic roles & 50–950 ramp
primary
#8A8F20
secondary
#544FBB
accent
#41E649
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A