#8A8C26#8A8C26
#8A8C26 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.9% C 0.121 H 110.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8C26 |
|---|---|
| RGB | rgb(138, 140, 38) |
| HSL | hsl(61, 57%, 35%) |
| HSV | hsv(61, 73%, 55%) |
| CMYK | cmyk(1.4%, 0%, 72.9%, 45.1%) |
| CIE-LAB | lab(56.39, -13.58, 51.06) |
| CIE-LCH | lch(56.39, 52.83, 104.89°) |
| OKLab | oklab(61.94% -0.0425 0.1132) |
| OKLCH | oklch(61.94% 0.121 110.6) |
| XYZ | xyz(20.2099, 24.2999, 5.4591) |
| Luminance | 0.2430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.62
Olive
#808000
ΔE00 4.75
Baby Poop Green
#8F9805
ΔE00 4.92
Pea Soup
#929901
ΔE00 5.32
Swamp Green
#748500
ΔE00 5.41
Shit Green
#758000
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8C26 #28268C
analogous
#8C5B26 #8A8C26 #578C26
triadic
#8A8C26 #268A8C #8C268A
tetradic
#8A8C26 #268C5B #28268C #8C2657
square
#8A8C26 #268C5B #28268C #8C2657
split-complementary
#8A8C26 #26578C #5B268C
monochromatic
#2B2C0C #5B5C19 #8A8C26 #B9BC33 #D0D25A
Accessibility & contrast
On white
3.58
#8A8C26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#8A8C26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8C26
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8C26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8C26 | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 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)
#978614
Deuteranopia (green-blind)
#98892E
Tritanopia (blue-blind)
#948378
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a8c26; /* rgb */ color: rgb(138, 140, 38); /* oklch */ color: oklch(61.9% 0.121 110.6);
Tailwind
colors: {
custom: {
50: '#afad68',
500: '#8a8c26',
950: '#000000',
},
}SCSS
$custom: #8a8c26; $custom-light: #afad68; $custom-dark: #000000;
JSON
{
"hex": "#8a8c26",
"rgb": {
"r": 138,
"g": 140,
"b": 38
},
"hsl": {
"h": 61.176,
"s": 57.303,
"l": 34.902
},
"oklch": {
"l": 0.61936,
"c": 0.12089,
"h": 110.6
},
"luminance": 0.24299
}Semantic roles & 50–950 ramp
primary
#8A8C26
secondary
#5957B7
accent
#47E14A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A