#8B7F23#8B7F23
#8B7F23 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.110 H 101.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8B7F23 |
|---|---|
| RGB | rgb(139, 127, 35) |
| HSL | hsl(53, 60%, 34%) |
| HSV | hsv(53, 75%, 55%) |
| CMYK | cmyk(0%, 8.6%, 74.8%, 45.5%) |
| CIE-LAB | lab(52.72, -6.22, 48.69) |
| CIE-LCH | lch(52.72, 49.09, 97.28°) |
| OKLab | oklab(59.03% -0.0222 0.1076) |
| OKLCH | oklch(59.03% 0.11 101.7) |
| XYZ | xyz(18.5410, 20.7899, 4.6260) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.26
Olive
#808000
ΔE00 4.31
Hazel
#8E7618
ΔE00 4.72
Ugly Brown
#7D7103
ΔE00 5.65
Puke Brown
#947706
ΔE00 5.97
Diarrhea
#9F8303
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B7F23 #232F8B
analogous
#8B4B23 #8B7F23 #638B23
triadic
#8B7F23 #238B7F #7F238B
tetradic
#8B7F23 #238B4B #232F8B #8B2363
square
#8B7F23 #238B4B #232F8B #8B2363
split-complementary
#8B7F23 #23638B #4B238B
monochromatic
#29260A #5A5217 #8B7F23 #BCAC2F #D4C554
Accessibility & contrast
On white
4.07
#8B7F23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#8B7F23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B7F23
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B7F23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B7F23 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B13
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8b7f23; /* rgb */ color: rgb(139, 127, 35); /* oklch */ color: oklch(59.0% 0.110 101.7);
Tailwind
colors: {
custom: {
50: '#b0a365',
500: '#8b7f23',
950: '#000000',
},
}SCSS
$custom: #8b7f23; $custom-light: #b0a365; $custom-dark: #000000;
JSON
{
"hex": "#8b7f23",
"rgb": {
"r": 139,
"g": 127,
"b": 35
},
"hsl": {
"h": 53.077,
"s": 59.77,
"l": 34.118
},
"oklch": {
"l": 0.59028,
"c": 0.10983,
"h": 101.7
},
"luminance": 0.20789
}Semantic roles & 50–950 ramp
primary
#8B7F23
secondary
#525EB8
accent
#57E345
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A