#8A831A#8A831A
#8A831A is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.119 H 105.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8A831A |
|---|---|
| RGB | rgb(138, 131, 26) |
| HSL | hsl(56, 68%, 32%) |
| HSV | hsv(56, 81%, 54%) |
| CMYK | cmyk(0%, 5.1%, 81.2%, 45.9%) |
| CIE-LAB | lab(53.72, -9.27, 52.75) |
| CIE-LCH | lch(53.72, 53.55, 99.97°) |
| OKLab | oklab(59.79% -0.0316 0.1144) |
| OKLCH | oklch(59.79% 0.119 105.4) |
| XYZ | xyz(18.7848, 21.7112, 4.1783) |
| Luminance | 0.2171 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.83
Baby Poop
#937C00
ΔE00 5.38
Shit Green
#758000
ΔE00 5.62
Swamp Green
#748500
ΔE00 6.57
Hazel
#8E7618
ΔE00 6.72
Ugly Brown
#7D7103
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A831A #1A218A
analogous
#8A4B1A #8A831A #598A1A
triadic
#8A831A #1A8A83 #831A8A
tetradic
#8A831A #1A8A4B #1A218A #8A1A59
square
#8A831A #1A8A4B #1A218A #8A1A59
split-complementary
#8A831A #1A598A #4B1A8A
monochromatic
#232107 #575210 #8A831A #BDB424 #DCD243
Accessibility & contrast
On white
3.93
#8A831A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#8A831A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A831A
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A831A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A831A | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#928223
Tritanopia (blue-blind)
#957970
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8a831a; /* rgb */ color: rgb(138, 131, 26); /* oklch */ color: oklch(59.8% 0.119 105.4);
Tailwind
colors: {
custom: {
50: '#b0a661',
500: '#8a831a',
950: '#000000',
},
}SCSS
$custom: #8a831a; $custom-light: #b0a661; $custom-dark: #000000;
JSON
{
"hex": "#8a831a",
"rgb": {
"r": 138,
"g": 131,
"b": 26
},
"hsl": {
"h": 56.25,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.59786,
"c": 0.11871,
"h": 105.4
},
"luminance": 0.2171
}Semantic roles & 50–950 ramp
primary
#8A831A
secondary
#434BBD
accent
#48EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A