#8D831D#8D831D
#8D831D is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.117 H 103.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8D831D |
|---|---|
| RGB | rgb(141, 131, 29) |
| HSL | hsl(55, 66%, 33%) |
| HSV | hsv(55, 79%, 55%) |
| CMYK | cmyk(0%, 7.1%, 79.4%, 44.7%) |
| CIE-LAB | lab(54.01, -7.77, 52.14) |
| CIE-LCH | lch(54.01, 52.72, 98.47°) |
| OKLab | oklab(60.09% -0.0273 0.1136) |
| OKLCH | oklch(60.09% 0.117 103.5) |
| XYZ | xyz(19.3235, 21.9849, 4.3878) |
| Luminance | 0.2198 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.70
Baby Poop
#937C00
ΔE00 4.66
Diarrhea
#9F8303
ΔE00 5.97
Hazel
#8E7618
ΔE00 6.08
Shit Green
#758000
ΔE00 6.57
Puke Brown
#947706
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D831D #1D278D
analogous
#8D4B1D #8D831D #5F8D1D
triadic
#8D831D #1D8D83 #831D8D
tetradic
#8D831D #1D8D4B #1D278D #8D1D5F
square
#8D831D #1D8D4B #1D278D #8D1D5F
split-complementary
#8D831D #1D5F8D #4B1D8D
monochromatic
#272508 #5A5413 #8D831D #C0B227 #DACD4B
Accessibility & contrast
On white
3.89
#8D831D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#8D831D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D831D
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D831D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D831D | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907E03
Deuteranopia (green-blind)
#938325
Tritanopia (blue-blind)
#987970
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8d831d; /* rgb */ color: rgb(141, 131, 29); /* oklch */ color: oklch(60.1% 0.117 103.5);
Tailwind
colors: {
custom: {
50: '#b2a662',
500: '#8d831d',
950: '#000000',
},
}SCSS
$custom: #8d831d; $custom-light: #b2a662; $custom-dark: #000000;
JSON
{
"hex": "#8d831d",
"rgb": {
"r": 141,
"g": 131,
"b": 29
},
"hsl": {
"h": 54.643,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.60089,
"c": 0.11682,
"h": 103.5
},
"luminance": 0.21984
}Semantic roles & 50–950 ramp
primary
#8D831D
secondary
#4A54BC
accent
#4EE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A