#8A831C#8A831C
#8A831C is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.118 H 105.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8A831C |
|---|---|
| RGB | rgb(138, 131, 28) |
| HSL | hsl(56, 66%, 33%) |
| HSV | hsv(56, 80%, 54%) |
| CMYK | cmyk(0%, 5.1%, 79.7%, 45.9%) |
| CIE-LAB | lab(53.73, -9.19, 52.11) |
| CIE-LCH | lch(53.73, 52.92, 100.00°) |
| OKLab | oklab(59.8% -0.0312 0.1135) |
| OKLCH | oklch(59.8% 0.118 105.4) |
| XYZ | xyz(18.8080, 21.7205, 4.3001) |
| Luminance | 0.2172 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.91
Baby Poop
#937C00
ΔE00 5.43
Shit Green
#758000
ΔE00 5.64
Swamp Green
#748500
ΔE00 6.59
Hazel
#8E7618
ΔE00 6.70
Drab
#828344
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A831C #1C238A
analogous
#8A4C1C #8A831C #5A8A1C
triadic
#8A831C #1C8A83 #831C8A
tetradic
#8A831C #1C8A4C #1C238A #8A1C5A
square
#8A831C #1C8A4C #1C238A #8A1C5A
split-complementary
#8A831C #1C5A8A #4C1C8A
monochromatic
#242207 #575312 #8A831C #BDB326 #DAD047
Accessibility & contrast
On white
3.93
#8A831C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#8A831C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A831C
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A831C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A831C | 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)
#8F7E01
Deuteranopia (green-blind)
#928224
Tritanopia (blue-blind)
#957A70
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8a831c; /* rgb */ color: rgb(138, 131, 28); /* oklch */ color: oklch(59.8% 0.118 105.4);
Tailwind
colors: {
custom: {
50: '#b0a662',
500: '#8a831c',
950: '#000000',
},
}SCSS
$custom: #8a831c; $custom-light: #b0a662; $custom-dark: #000000;
JSON
{
"hex": "#8a831c",
"rgb": {
"r": 138,
"g": 131,
"b": 28
},
"hsl": {
"h": 56.182,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.59797,
"c": 0.11769,
"h": 105.4
},
"luminance": 0.2172
}Semantic roles & 50–950 ramp
primary
#8A831C
secondary
#464EBB
accent
#49E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A