#8D8A1B#8D8A1B
#8D8A1B is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.124 H 107.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8A1B |
|---|---|
| RGB | rgb(141, 138, 27) |
| HSL | hsl(58, 68%, 33%) |
| HSV | hsv(58, 81%, 55%) |
| CMYK | cmyk(0%, 2.1%, 80.9%, 44.7%) |
| CIE-LAB | lab(56.01, -11.64, 54.57) |
| CIE-LCH | lch(56.01, 55.79, 102.04°) |
| OKLab | oklab(61.68% -0.0383 0.1184) |
| OKLCH | oklch(61.68% 0.124 107.9) |
| XYZ | xyz(20.2716, 23.9195, 4.5858) |
| Luminance | 0.2392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.07
Baby Poop Green
#8F9805
ΔE00 5.33
Pea Soup
#929901
ΔE00 5.52
Baby Shit Green
#889717
ΔE00 5.72
Shit Green
#758000
ΔE00 6.07
Swamp Green
#748500
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8A1B #1B1E8D
analogous
#8D511B #8D8A1B #578D1B
triadic
#8D8A1B #1B8D8A #8A1B8D
tetradic
#8D8A1B #1B8D51 #1B1E8D #8D1B57
square
#8D8A1B #1B8D51 #1B1E8D #8D1B57
split-complementary
#8D8A1B #1B578D #511B8D
monochromatic
#262507 #5A5811 #8D8A1B #C0BC25 #DCD847
Accessibility & contrast
On white
3.63
#8D8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#8D8A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8A1B
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8A1B | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8d8a1b; /* rgb */ color: rgb(141, 138, 27); /* oklch */ color: oklch(61.7% 0.124 107.9);
Tailwind
colors: {
custom: {
50: '#b2ab63',
500: '#8d8a1b',
950: '#000000',
},
}SCSS
$custom: #8d8a1b; $custom-light: #b2ab63; $custom-dark: #000000;
JSON
{
"hex": "#8d8a1b",
"rgb": {
"r": 141,
"g": 138,
"b": 27
},
"hsl": {
"h": 58.421,
"s": 67.857,
"l": 32.941
},
"oklch": {
"l": 0.61676,
"c": 0.12444,
"h": 107.9
},
"luminance": 0.23919
}Semantic roles & 50–950 ramp
primary
#8D8A1B
secondary
#464ABD
accent
#42EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A