#8B8622#8B8622
#8B8622 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.117 H 106.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8622 |
|---|---|
| RGB | rgb(139, 134, 34) |
| HSL | hsl(57, 61%, 34%) |
| HSV | hsv(57, 76%, 55%) |
| CMYK | cmyk(0%, 3.6%, 75.5%, 45.5%) |
| CIE-LAB | lab(54.72, -10.10, 50.97) |
| CIE-LCH | lch(54.72, 51.97, 101.21°) |
| OKLab | oklab(60.61% -0.0332 0.1122) |
| OKLCH | oklch(60.61% 0.117 106.5) |
| XYZ | xyz(19.4621, 22.6554, 4.8608) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.43
Shit Green
#758000
ΔE00 5.70
Swamp Green
#748500
ΔE00 6.27
Drab
#828344
ΔE00 6.38
Baby Poop
#937C00
ΔE00 6.41
Baby Poop Green
#8F9805
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8622 #22278B
analogous
#8B5222 #8B8622 #5C8B22
triadic
#8B8622 #228B86 #86228B
tetradic
#8B8622 #228B52 #22278B #8B225C
square
#8B8622 #228B52 #22278B #8B225C
split-complementary
#8B8622 #225C8B #52228B
monochromatic
#29270A #5A5716 #8B8622 #BCB52E #D5CF53
Accessibility & contrast
On white
3.80
#8B8622 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#8B8622 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8622
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8622 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8622 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#967D73
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8b8622; /* rgb */ color: rgb(139, 134, 34); /* oklch */ color: oklch(60.6% 0.117 106.5);
Tailwind
colors: {
custom: {
50: '#b0a865',
500: '#8b8622',
950: '#000000',
},
}SCSS
$custom: #8b8622; $custom-light: #b0a865; $custom-dark: #000000;
JSON
{
"hex": "#8b8622",
"rgb": {
"r": 139,
"g": 134,
"b": 34
},
"hsl": {
"h": 57.143,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.60615,
"c": 0.11701,
"h": 106.5
},
"luminance": 0.22655
}Semantic roles & 50–950 ramp
primary
#8B8622
secondary
#5055B8
accent
#4CE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A