#8D8B1B#8D8B1B
#8D8B1B is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.125 H 108.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8B1B |
|---|---|
| RGB | rgb(141, 139, 27) |
| HSL | hsl(59, 68%, 33%) |
| HSV | hsv(59, 81%, 55%) |
| CMYK | cmyk(0%, 1.4%, 80.9%, 44.7%) |
| CIE-LAB | lab(56.30, -12.18, 54.82) |
| CIE-LCH | lch(56.30, 56.16, 102.52°) |
| OKLab | oklab(61.91% -0.0397 0.119) |
| OKLCH | oklch(61.91% 0.125 108.5) |
| XYZ | xyz(20.4158, 24.2078, 4.6338) |
| Luminance | 0.2421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.29
Baby Poop Green
#8F9805
ΔE00 4.94
Pea Soup
#929901
ΔE00 5.14
Baby Shit Green
#889717
ΔE00 5.32
Swamp Green
#748500
ΔE00 6.09
Shit Green
#758000
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8B1B #1B1D8D
analogous
#8D521B #8D8B1B #568D1B
triadic
#8D8B1B #1B8D8B #8B1B8D
tetradic
#8D8B1B #1B8D52 #1B1D8D #8D1B56
square
#8D8B1B #1B8D52 #1B1D8D #8D1B56
split-complementary
#8D8B1B #1B568D #521B8D
monochromatic
#262607 #5A5811 #8D8B1B #C0BE25 #DCD947
Accessibility & contrast
On white
3.60
#8D8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#8D8B1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8B1B
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8B1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8B1B | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#988177
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8d8b1b; /* rgb */ color: rgb(141, 139, 27); /* oklch */ color: oklch(61.9% 0.125 108.5);
Tailwind
colors: {
custom: {
50: '#b2ac63',
500: '#8d8b1b',
950: '#000000',
},
}SCSS
$custom: #8d8b1b; $custom-light: #b2ac63; $custom-dark: #000000;
JSON
{
"hex": "#8d8b1b",
"rgb": {
"r": 141,
"g": 139,
"b": 27
},
"hsl": {
"h": 58.947,
"s": 67.857,
"l": 32.941
},
"oklch": {
"l": 0.61906,
"c": 0.12542,
"h": 108.5
},
"luminance": 0.24207
}Semantic roles & 50–950 ramp
primary
#8D8B1B
secondary
#4649BD
accent
#40EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A