#8D8310#8D8310
#8D8310 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.123 H 103.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8310 |
|---|---|
| RGB | rgb(141, 131, 16) |
| HSL | hsl(55, 80%, 31%) |
| HSV | hsv(55, 89%, 55%) |
| CMYK | cmyk(0%, 7.1%, 88.7%, 44.7%) |
| CIE-LAB | lab(53.96, -8.18, 55.76) |
| CIE-LCH | lch(53.96, 56.36, 98.35°) |
| OKLab | oklab(60.03% -0.0294 0.1189) |
| OKLCH | oklch(60.03% 0.123 103.9) |
| XYZ | xyz(19.1953, 21.9336, 3.7126) |
| Luminance | 0.2193 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.47
Baby Poop
#937C00
ΔE00 4.43
Diarrhea
#9F8303
ΔE00 5.73
Hazel
#8E7618
ΔE00 6.28
Shit Green
#758000
ΔE00 6.53
Puke Brown
#947706
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8310 #101A8D
analogous
#8D4410 #8D8310 #588D10
triadic
#8D8310 #108D83 #83108D
tetradic
#8D8310 #108D44 #101A8D #8D1058
square
#8D8310 #108D44 #101A8D #8D1058
split-complementary
#8D8310 #10588D #44108D
monochromatic
#1F1D04 #56500A #8D8310 #C4B616 #E7D930
Accessibility & contrast
On white
3.90
#8D8310 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#8D8310 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8310
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8310 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8310 | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#93831C
Tritanopia (blue-blind)
#98796F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8d8310; /* rgb */ color: rgb(141, 131, 16); /* oklch */ color: oklch(60.0% 0.123 103.9);
Tailwind
colors: {
custom: {
50: '#b2a65d',
500: '#8d8310',
950: '#000000',
},
}SCSS
$custom: #8d8310; $custom-light: #b2a65d; $custom-dark: #000000;
JSON
{
"hex": "#8d8310",
"rgb": {
"r": 141,
"g": 131,
"b": 16
},
"hsl": {
"h": 55.2,
"s": 79.618,
"l": 30.784
},
"oklch": {
"l": 0.60028,
"c": 0.12251,
"h": 103.9
},
"luminance": 0.21933
}Semantic roles & 50–950 ramp
primary
#8D8310
secondary
#3742C2
accent
#41F632
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79