#8A8A27#8A8A27
#8A8A27 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.118 H 109.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A27 |
|---|---|
| RGB | rgb(138, 138, 39) |
| HSL | hsl(60, 56%, 35%) |
| HSV | hsv(60, 72%, 54%) |
| CMYK | cmyk(0%, 0%, 71.7%, 45.9%) |
| CIE-LAB | lab(55.81, -12.46, 50.12) |
| CIE-LCH | lch(55.81, 51.64, 103.96°) |
| OKLab | oklab(61.48% -0.0393 0.1114) |
| OKLCH | oklch(61.48% 0.118 109.4) |
| XYZ | xyz(19.9366, 23.7273, 5.4487) |
| Luminance | 0.2373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.29
Baby Shit Green
#889717
ΔE00 5.45
Swamp Green
#748500
ΔE00 5.54
Shit Green
#758000
ΔE00 5.60
Baby Poop Green
#8F9805
ΔE00 5.66
Pea Soup
#929901
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A27 #27278A
analogous
#8A5927 #8A8A27 #598A27
triadic
#8A8A27 #278A8A #8A278A
tetradic
#8A8A27 #278A59 #27278A #8A2759
square
#8A8A27 #278A59 #27278A #8A2759
split-complementary
#8A8A27 #27598A #59278A
monochromatic
#2B2B0C #5A5A1A #8A8A27 #BABA34 #D1D15B
Accessibility & contrast
On white
3.66
#8A8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#8A8A27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A27
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A27 | 1.00 | 3.66 | 5.75 | 5.75 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958416
Deuteranopia (green-blind)
#97872E
Tritanopia (blue-blind)
#948177
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a8a27; /* rgb */ color: rgb(138, 138, 39); /* oklch */ color: oklch(61.5% 0.118 109.4);
Tailwind
colors: {
custom: {
50: '#afab68',
500: '#8a8a27',
950: '#000000',
},
}SCSS
$custom: #8a8a27; $custom-light: #afab68; $custom-dark: #000000;
JSON
{
"hex": "#8a8a27",
"rgb": {
"r": 138,
"g": 138,
"b": 39
},
"hsl": {
"h": 60,
"s": 55.932,
"l": 34.706
},
"oklch": {
"l": 0.6148,
"c": 0.11809,
"h": 109.4
},
"luminance": 0.23727
}Semantic roles & 50–950 ramp
primary
#8A8A27
secondary
#5757B6
accent
#49DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A