#8D731C#8D731C
#8D731C is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.5% C 0.105 H 91.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8D731C |
|---|---|
| RGB | rgb(141, 115, 28) |
| HSL | hsl(46, 67%, 33%) |
| HSV | hsv(46, 80%, 55%) |
| CMYK | cmyk(0%, 18.4%, 80.1%, 44.7%) |
| CIE-LAB | lab(49.51, 1.14, 48.39) |
| CIE-LCH | lch(49.51, 48.40, 88.65°) |
| OKLab | oklab(56.52% -0.0021 0.1054) |
| OKLCH | oklch(56.52% 0.105 91.2) |
| XYZ | xyz(17.3259, 18.0091, 3.6619) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.50
Poo
#8F7303
ΔE00 2.03
Puke Brown
#947706
ΔE00 2.87
Muddy Brown
#886806
ΔE00 4.33
Yellowish Brown
#9B7A01
ΔE00 4.56
Baby Poop
#937C00
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D731C #1C368D
analogous
#8D3B1C #8D731C #6E8D1C
triadic
#8D731C #1C8D73 #731C8D
tetradic
#8D731C #1C8D3B #1C368D #8D1C6E
square
#8D731C #1C8D3B #1C368D #8D1C6E
split-complementary
#8D731C #1C6E8D #3B1C8D
monochromatic
#272008 #5A4912 #8D731C #C09D26 #DBB949
Accessibility & contrast
On white
4.56
#8D731C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#8D731C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D731C
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D731C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D731C | 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)
#81710A
Deuteranopia (green-blind)
#877921
Tritanopia (blue-blind)
#996962
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8d731c; /* rgb */ color: rgb(141, 115, 28); /* oklch */ color: oklch(56.5% 0.105 91.2);
Tailwind
colors: {
custom: {
50: '#b29a60',
500: '#8d731c',
950: '#000000',
},
}SCSS
$custom: #8d731c; $custom-light: #b29a60; $custom-dark: #000000;
JSON
{
"hex": "#8d731c",
"rgb": {
"r": 141,
"g": 115,
"b": 28
},
"hsl": {
"h": 46.195,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.56519,
"c": 0.10537,
"h": 91.2
},
"luminance": 0.18008
}Semantic roles & 50–950 ramp
primary
#8D731C
secondary
#4863BD
accent
#66EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79