#8D761F#8D761F
#8D761F is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.2% C 0.105 H 93.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8D761F |
|---|---|
| RGB | rgb(141, 118, 31) |
| HSL | hsl(47, 64%, 34%) |
| HSV | hsv(47, 78%, 55%) |
| CMYK | cmyk(0%, 16.3%, 78%, 44.7%) |
| CIE-LAB | lab(50.36, -0.44, 48.05) |
| CIE-LCH | lch(50.36, 48.06, 90.52°) |
| OKLab | oklab(57.2% -0.0063 0.1053) |
| OKLCH | oklch(57.2% 0.105 93.4) |
| XYZ | xyz(17.7112, 18.7196, 3.9764) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.81
Poo
#8F7303
ΔE00 2.56
Puke Brown
#947706
ΔE00 2.86
Baby Poop
#937C00
ΔE00 3.73
Yellowish Brown
#9B7A01
ΔE00 4.51
Ugly Brown
#7D7103
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D761F #1F368D
analogous
#8D3F1F #8D761F #6D8D1F
triadic
#8D761F #1F8D76 #761F8D
tetradic
#8D761F #1F8D3F #1F368D #8D1F6D
square
#8D761F #1F8D3F #1F368D #8D1F6D
split-complementary
#8D761F #1F6D8D #3F1F8D
monochromatic
#292209 #5B4C14 #8D761F #BFA02A #D8BB4E
Accessibility & contrast
On white
4.43
#8D761F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#8D761F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D761F
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D761F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D761F | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#996C65
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8d761f; /* rgb */ color: rgb(141, 118, 31); /* oklch */ color: oklch(57.2% 0.105 93.4);
Tailwind
colors: {
custom: {
50: '#b29d62',
500: '#8d761f',
950: '#000000',
},
}SCSS
$custom: #8d761f; $custom-light: #b29d62; $custom-dark: #000000;
JSON
{
"hex": "#8d761f",
"rgb": {
"r": 141,
"g": 118,
"b": 31
},
"hsl": {
"h": 47.455,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.57196,
"c": 0.10549,
"h": 93.4
},
"luminance": 0.18719
}Semantic roles & 50–950 ramp
primary
#8D761F
secondary
#4D64BB
accent
#64E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A