#8D8510#8D8510
#8D8510 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.124 H 105.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8510 |
|---|---|
| RGB | rgb(141, 133, 16) |
| HSL | hsl(56, 80%, 31%) |
| HSV | hsv(56, 89%, 55%) |
| CMYK | cmyk(0%, 5.7%, 88.7%, 44.7%) |
| CIE-LAB | lab(54.53, -9.28, 56.22) |
| CIE-LCH | lch(54.53, 56.98, 99.37°) |
| OKLab | oklab(60.48% -0.0325 0.1199) |
| OKLCH | oklch(60.48% 0.124 105.1) |
| XYZ | xyz(19.4665, 22.4760, 3.8030) |
| Luminance | 0.2248 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.37
Baby Poop
#937C00
ΔE00 5.21
Diarrhea
#9F8303
ΔE00 6.21
Shit Green
#758000
ΔE00 6.27
Swamp Green
#748500
ΔE00 7.02
Hazel
#8E7618
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8510 #10188D
analogous
#8D4610 #8D8510 #568D10
triadic
#8D8510 #108D85 #85108D
tetradic
#8D8510 #108D46 #10188D #8D1056
square
#8D8510 #108D46 #10188D #8D1056
split-complementary
#8D8510 #10568D #46108D
monochromatic
#1F1D04 #56510A #8D8510 #C4B916 #E7DC30
Accessibility & contrast
On white
3.82
#8D8510 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#8D8510 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8510
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8510 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8510 | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#95841C
Tritanopia (blue-blind)
#987B71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8d8510; /* rgb */ color: rgb(141, 133, 16); /* oklch */ color: oklch(60.5% 0.124 105.1);
Tailwind
colors: {
custom: {
50: '#b2a85e',
500: '#8d8510',
950: '#000000',
},
}SCSS
$custom: #8d8510; $custom-light: #b2a85e; $custom-dark: #000000;
JSON
{
"hex": "#8d8510",
"rgb": {
"r": 141,
"g": 133,
"b": 16
},
"hsl": {
"h": 56.16,
"s": 79.618,
"l": 30.784
},
"oklch": {
"l": 0.60484,
"c": 0.12426,
"h": 105.1
},
"luminance": 0.22475
}Semantic roles & 50–950 ramp
primary
#8D8510
secondary
#3740C2
accent
#3EF632
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79