#8A8F37#8A8F37
#8A8F37 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.111 H 112.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8F37 |
|---|---|
| RGB | rgb(138, 143, 55) |
| HSL | hsl(63, 44%, 39%) |
| HSV | hsv(63, 62%, 56%) |
| CMYK | cmyk(3.5%, 0%, 61.5%, 43.9%) |
| CIE-LAB | lab(57.39, -14.10, 44.93) |
| CIE-LCH | lch(57.39, 47.09, 107.42°) |
| OKLab | oklab(62.78% -0.0421 0.103) |
| OKLCH | oklch(62.78% 0.111 112.2) |
| XYZ | xyz(20.9938, 25.3245, 7.3959) |
| Luminance | 0.2532 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.83
Drab
#828344
ΔE00 5.65
Camo
#7F8F4E
ΔE00 5.74
Baby Poop Green
#8F9805
ΔE00 5.75
Pea Soup
#929901
ΔE00 6.21
Swamp Green
#748500
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F37 #3C378F
analogous
#8F6837 #8A8F37 #5E8F37
triadic
#8A8F37 #378A8F #8F378A
tetradic
#8A8F37 #378F68 #3C378F #8F375E
square
#8A8F37 #378F68 #3C378F #8F375E
split-complementary
#8A8F37 #375E8F #68378F
monochromatic
#353715 #5F6326 #8A8F37 #B3B94A #C6CA76
Accessibility & contrast
On white
3.46
#8A8F37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#8A8F37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F37
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F37 | 1.00 | 3.46 | 6.06 | 6.06 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99892D
Deuteranopia (green-blind)
#9A8B3C
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8a8f37; /* rgb */ color: rgb(138, 143, 55); /* oklch */ color: oklch(62.8% 0.111 112.2);
Tailwind
colors: {
custom: {
50: '#aeaf72',
500: '#8a8f37',
950: '#000000',
},
}SCSS
$custom: #8a8f37; $custom-light: #aeaf72; $custom-dark: #000000;
JSON
{
"hex": "#8a8f37",
"rgb": {
"r": 138,
"g": 143,
"b": 55
},
"hsl": {
"h": 63.409,
"s": 44.444,
"l": 38.824
},
"oklch": {
"l": 0.62781,
"c": 0.11131,
"h": 112.2
},
"luminance": 0.25324
}Semantic roles & 50–950 ramp
primary
#8A8F37
secondary
#736FB3
accent
#54D45B
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B