#8A8F33#8A8F33
#8A8F33 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.7% C 0.115 H 112.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8F33 |
|---|---|
| RGB | rgb(138, 143, 51) |
| HSL | hsl(63, 47%, 38%) |
| HSV | hsv(63, 64%, 56%) |
| CMYK | cmyk(3.5%, 0%, 64.3%, 43.9%) |
| CIE-LAB | lab(57.35, -14.38, 46.69) |
| CIE-LCH | lch(57.35, 48.86, 107.12°) |
| OKLab | oklab(62.74% -0.0434 0.1062) |
| OKLCH | oklch(62.74% 0.115 112.2) |
| XYZ | xyz(20.9018, 25.2877, 6.9113) |
| Luminance | 0.2529 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.41
Baby Poop Green
#8F9805
ΔE00 5.26
Pea Soup
#929901
ΔE00 5.73
Drab
#828344
ΔE00 6.05
Swamp Green
#748500
ΔE00 6.06
Camo
#7F8F4E
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F33 #38338F
analogous
#8F6633 #8A8F33 #5C8F33
triadic
#8A8F33 #338A8F #8F338A
tetradic
#8A8F33 #338F66 #38338F #8F335C
square
#8A8F33 #338F66 #38338F #8F335C
split-complementary
#8A8F33 #335C8F #66338F
monochromatic
#333513 #5E6223 #8A8F33 #B5BC43 #C7CC70
Accessibility & contrast
On white
3.47
#8A8F33 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#8A8F33 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F33
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F33 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 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)
#9A8927
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8a8f33; /* rgb */ color: rgb(138, 143, 51); /* oklch */ color: oklch(62.7% 0.115 112.2);
Tailwind
colors: {
custom: {
50: '#afaf6f',
500: '#8a8f33',
950: '#000000',
},
}SCSS
$custom: #8a8f33; $custom-light: #afaf6f; $custom-dark: #000000;
JSON
{
"hex": "#8a8f33",
"rgb": {
"r": 138,
"g": 143,
"b": 51
},
"hsl": {
"h": 63.261,
"s": 47.423,
"l": 38.039
},
"oklch": {
"l": 0.62741,
"c": 0.11469,
"h": 112.2
},
"luminance": 0.25287
}Semantic roles & 50–950 ramp
primary
#8A8F33
secondary
#6E6AB4
accent
#51D758
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B