#8D731F#8D731F
#8D731F is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.5% C 0.104 H 90.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8D731F |
|---|---|
| RGB | rgb(141, 115, 31) |
| HSL | hsl(46, 64%, 34%) |
| HSV | hsv(46, 78%, 55%) |
| CMYK | cmyk(0%, 18.4%, 78%, 44.7%) |
| CIE-LAB | lab(49.53, 1.27, 47.27) |
| CIE-LCH | lch(49.53, 47.29, 88.46°) |
| OKLab | oklab(56.54% -0.0014 0.1036) |
| OKLCH | oklch(56.54% 0.104 90.8) |
| XYZ | xyz(17.3636, 18.0242, 3.8605) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.74
Poo
#8F7303
ΔE00 2.38
Puke Brown
#947706
ΔE00 3.14
Muddy Brown
#886806
ΔE00 4.38
Yellowish Brown
#9B7A01
ΔE00 4.76
Baby Poop
#937C00
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D731F #1F398D
analogous
#8D3C1F #8D731F #708D1F
triadic
#8D731F #1F8D73 #731F8D
tetradic
#8D731F #1F8D3C #1F398D #8D1F70
square
#8D731F #1F8D3C #1F398D #8D1F70
split-complementary
#8D731F #1F708D #3C1F8D
monochromatic
#292109 #5B4A14 #8D731F #BF9C2A #D8B84E
Accessibility & contrast
On white
4.56
#8D731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#8D731F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D731F
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D731F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D731F | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817110
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#996963
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8d731f; /* rgb */ color: rgb(141, 115, 31); /* oklch */ color: oklch(56.5% 0.104 90.8);
Tailwind
colors: {
custom: {
50: '#b29a61',
500: '#8d731f',
950: '#000000',
},
}SCSS
$custom: #8d731f; $custom-light: #b29a61; $custom-dark: #000000;
JSON
{
"hex": "#8d731f",
"rgb": {
"r": 141,
"g": 115,
"b": 31
},
"hsl": {
"h": 45.818,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.5654,
"c": 0.10364,
"h": 90.8
},
"luminance": 0.18023
}Semantic roles & 50–950 ramp
primary
#8D731F
secondary
#4D67BB
accent
#68E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A