#8B8618#8B8618
#8B8618 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.122 H 106.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8618 |
|---|---|
| RGB | rgb(139, 134, 24) |
| HSL | hsl(57, 71%, 32%) |
| HSV | hsv(57, 83%, 55%) |
| CMYK | cmyk(0%, 3.6%, 82.7%, 45.5%) |
| CIE-LAB | lab(54.66, -10.51, 54.21) |
| CIE-LCH | lch(54.66, 55.22, 100.97°) |
| OKLab | oklab(60.56% -0.0352 0.1172) |
| OKLCH | oklch(60.56% 0.122 106.7) |
| XYZ | xyz(19.3383, 22.6058, 4.2087) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.06
Shit Green
#758000
ΔE00 5.59
Baby Poop
#937C00
ΔE00 6.17
Swamp Green
#748500
ΔE00 6.18
Baby Poop Green
#8F9805
ΔE00 6.67
Pea Soup
#929901
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8618 #181D8B
analogous
#8B4C18 #8B8618 #578B18
triadic
#8B8618 #188B86 #86188B
tetradic
#8B8618 #188B4C #181D8B #8B1857
square
#8B8618 #188B4C #181D8B #8B1857
split-complementary
#8B8618 #18578B #4C188B
monochromatic
#232106 #57540F #8B8618 #BFB821 #DED73F
Accessibility & contrast
On white
3.80
#8B8618 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#8B8618 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8618
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8618 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8618 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#948522
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8b8618; /* rgb */ color: rgb(139, 134, 24); /* oklch */ color: oklch(60.6% 0.122 106.7);
Tailwind
colors: {
custom: {
50: '#b1a861',
500: '#8b8618',
950: '#000000',
},
}SCSS
$custom: #8b8618; $custom-light: #b1a861; $custom-dark: #000000;
JSON
{
"hex": "#8b8618",
"rgb": {
"r": 139,
"g": 134,
"b": 24
},
"hsl": {
"h": 57.391,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.60558,
"c": 0.12234,
"h": 106.7
},
"luminance": 0.22605
}Semantic roles & 50–950 ramp
primary
#8B8618
secondary
#4046BE
accent
#42ED3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A