#86791F#86791F
#86791F is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.107 H 100.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #86791F |
|---|---|
| RGB | rgb(134, 121, 31) |
| HSL | hsl(52, 62%, 32%) |
| HSV | hsv(52, 77%, 53%) |
| CMYK | cmyk(0%, 9.7%, 76.9%, 47.5%) |
| CIE-LAB | lab(50.50, -5.40, 47.94) |
| CIE-LCH | lch(50.50, 48.24, 96.42°) |
| OKLab | oklab(57.15% -0.02 0.1054) |
| OKLCH | oklch(57.15% 0.107 100.7) |
| XYZ | xyz(16.9170, 18.8428, 4.0420) |
| Luminance | 0.1884 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.57
Hazel
#8E7618
ΔE00 3.67
Baby Poop
#937C00
ΔE00 4.51
Olive
#808000
ΔE00 4.97
Poo
#8F7303
ΔE00 5.28
Puke Brown
#947706
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#86791F #1F2C86
analogous
#86451F #86791F #60861F
triadic
#86791F #1F8679 #791F86
tetradic
#86791F #1F8645 #1F2C86 #861F60
square
#86791F #1F8645 #1F2C86 #861F60
split-complementary
#86791F #1F6086 #451F86
monochromatic
#231F08 #544C14 #86791F #B8A62A #D5C44A
Accessibility & contrast
On white
4.40
#86791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#86791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #86791F
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##86791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##86791F | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#917068
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #86791f; /* rgb */ color: rgb(134, 121, 31); /* oklch */ color: oklch(57.1% 0.107 100.7);
Tailwind
colors: {
custom: {
50: '#ad9f62',
500: '#86791f',
950: '#000000',
},
}SCSS
$custom: #86791f; $custom-light: #ad9f62; $custom-dark: #000000;
JSON
{
"hex": "#86791f",
"rgb": {
"r": 134,
"g": 121,
"b": 31
},
"hsl": {
"h": 52.427,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.57147,
"c": 0.10726,
"h": 100.7
},
"luminance": 0.18842
}Semantic roles & 50–950 ramp
primary
#86791F
secondary
#4957B8
accent
#57E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A