#8A8D37#8A8D37
#8A8D37 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.109 H 111.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8D37 |
|---|---|
| RGB | rgb(138, 141, 55) |
| HSL | hsl(62, 44%, 38%) |
| HSV | hsv(62, 61%, 55%) |
| CMYK | cmyk(2.1%, 0%, 61%, 44.7%) |
| CIE-LAB | lab(56.81, -13.03, 44.30) |
| CIE-LCH | lch(56.81, 46.18, 106.39°) |
| OKLab | oklab(62.32% -0.0391 0.1017) |
| OKLCH | oklch(62.32% 0.109 111) |
| XYZ | xyz(20.6963, 24.7293, 7.2967) |
| Luminance | 0.2473 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.07
Baby Shit Green
#889717
ΔE00 5.46
Camo
#7F8F4E
ΔE00 5.90
Baby Poop Green
#8F9805
ΔE00 6.23
Olive
#808000
ΔE00 6.25
Swamp Green
#748500
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8D37 #3A378D
analogous
#8D6537 #8A8D37 #5F8D37
triadic
#8A8D37 #378A8D #8D378A
tetradic
#8A8D37 #378D65 #3A378D #8D375F
square
#8A8D37 #378D65 #3A378D #8D375F
split-complementary
#8A8D37 #375F8D #65378D
monochromatic
#343515 #5F6126 #8A8D37 #B4B849 #C6C975
Accessibility & contrast
On white
3.53
#8A8D37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#8A8D37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8D37
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8D37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8D37 | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97872D
Deuteranopia (green-blind)
#98893C
Tritanopia (blue-blind)
#93857B
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8a8d37; /* rgb */ color: rgb(138, 141, 55); /* oklch */ color: oklch(62.3% 0.109 111.0);
Tailwind
colors: {
custom: {
50: '#aeae72',
500: '#8a8d37',
950: '#000000',
},
}SCSS
$custom: #8a8d37; $custom-light: #aeae72; $custom-dark: #000000;
JSON
{
"hex": "#8a8d37",
"rgb": {
"r": 138,
"g": 141,
"b": 55
},
"hsl": {
"h": 62.093,
"s": 43.878,
"l": 38.431
},
"oklch": {
"l": 0.62318,
"c": 0.10895,
"h": 111
},
"luminance": 0.24729
}Semantic roles & 50–950 ramp
primary
#8A8D37
secondary
#706EB2
accent
#54D459
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B