#8E731D#8E731D
#8E731D is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.6% C 0.105 H 90.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8E731D |
|---|---|
| RGB | rgb(142, 115, 29) |
| HSL | hsl(46, 66%, 34%) |
| HSV | hsv(46, 80%, 56%) |
| CMYK | cmyk(0%, 19%, 79.6%, 44.3%) |
| CIE-LAB | lab(49.62, 1.65, 48.16) |
| CIE-LCH | lch(49.62, 48.19, 88.03°) |
| OKLab | oklab(56.63% -0.0006 0.105) |
| OKLCH | oklch(56.63% 0.105 90.3) |
| XYZ | xyz(17.5089, 18.1021, 3.7340) |
| Luminance | 0.1810 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.73
Poo
#8F7303
ΔE00 2.11
Puke Brown
#947706
ΔE00 2.86
Muddy Brown
#886806
ΔE00 4.27
Yellowish Brown
#9B7A01
ΔE00 4.45
Baby Poop
#937C00
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E731D #1D388E
analogous
#8E3A1D #8E731D #708E1D
triadic
#8E731D #1D8E73 #731D8E
tetradic
#8E731D #1D8E3A #1D388E #8E1D70
square
#8E731D #1D8E3A #1D388E #8E1D70
split-complementary
#8E731D #1D708E #3A1D8E
monochromatic
#282108 #5B4A13 #8E731D #C19C27 #DAB84B
Accessibility & contrast
On white
4.55
#8E731D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#8E731D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E731D
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E731D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E731D | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#9A6963
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8e731d; /* rgb */ color: rgb(142, 115, 29); /* oklch */ color: oklch(56.6% 0.105 90.3);
Tailwind
colors: {
custom: {
50: '#b39a60',
500: '#8e731d',
950: '#000000',
},
}SCSS
$custom: #8e731d; $custom-light: #b39a60; $custom-dark: #000000;
JSON
{
"hex": "#8e731d",
"rgb": {
"r": 142,
"g": 115,
"b": 29
},
"hsl": {
"h": 45.664,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.56634,
"c": 0.10504,
"h": 90.3
},
"luminance": 0.18101
}Semantic roles & 50–950 ramp
primary
#8E731D
secondary
#4A66BD
accent
#67E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79