#8A8A33#8A8A33
#8A8A33 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.109 H 109.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A33 |
|---|---|
| RGB | rgb(138, 138, 51) |
| HSL | hsl(60, 46%, 37%) |
| HSV | hsv(60, 63%, 54%) |
| CMYK | cmyk(0%, 0%, 63%, 45.9%) |
| CIE-LAB | lab(55.91, -11.72, 45.15) |
| CIE-LCH | lch(55.91, 46.65, 104.55°) |
| OKLab | oklab(61.58% -0.0359 0.1029) |
| OKLCH | oklch(61.58% 0.109 109.2) |
| XYZ | xyz(20.1679, 23.8198, 6.6666) |
| Luminance | 0.2382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.80
Olive
#808000
ΔE00 5.27
Baby Shit Green
#889717
ΔE00 6.15
Swamp Green
#748500
ΔE00 6.18
Shit Green
#758000
ΔE00 6.25
Baby Poop Green
#8F9805
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A33 #33338A
analogous
#8A5F33 #8A8A33 #5F8A33
triadic
#8A8A33 #338A8A #8A338A
tetradic
#8A8A33 #338A5F #33338A #8A335F
square
#8A8A33 #338A5F #33338A #8A335F
split-complementary
#8A8A33 #335F8A #5F338A
monochromatic
#313112 #5D5D22 #8A8A33 #B7B744 #C9C96E
Accessibility & contrast
On white
3.64
#8A8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#8A8A33 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A33
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A33 | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958428
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#938278
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a8a33; /* rgb */ color: rgb(138, 138, 51); /* oklch */ color: oklch(61.6% 0.109 109.2);
Tailwind
colors: {
custom: {
50: '#afac6f',
500: '#8a8a33',
950: '#000000',
},
}SCSS
$custom: #8a8a33; $custom-light: #afac6f; $custom-dark: #000000;
JSON
{
"hex": "#8a8a33",
"rgb": {
"r": 138,
"g": 138,
"b": 51
},
"hsl": {
"h": 60,
"s": 46.032,
"l": 37.059
},
"oklch": {
"l": 0.61584,
"c": 0.10898,
"h": 109.2
},
"luminance": 0.23819
}Semantic roles & 50–950 ramp
primary
#8A8A33
secondary
#6767B1
accent
#52D652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A