#8F731D#8F731D
#8F731D is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.105 H 89.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8F731D |
|---|---|
| RGB | rgb(143, 115, 29) |
| HSL | hsl(45, 66%, 34%) |
| HSV | hsv(45, 80%, 56%) |
| CMYK | cmyk(0%, 19.6%, 79.7%, 43.9%) |
| CIE-LAB | lab(49.73, 2.12, 48.30) |
| CIE-LCH | lch(49.73, 48.34, 87.49°) |
| OKLab | oklab(56.74% 0.0006 0.1053) |
| OKLCH | oklch(56.74% 0.105 89.7) |
| XYZ | xyz(17.6813, 18.1910, 3.7421) |
| Luminance | 0.1819 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.93
Poo
#8F7303
ΔE00 2.14
Puke Brown
#947706
ΔE00 2.81
Muddy Brown
#886806
ΔE00 4.23
Yellowish Brown
#9B7A01
ΔE00 4.30
Baby Poop
#937C00
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F731D #1D398F
analogous
#8F3A1D #8F731D #728F1D
triadic
#8F731D #1D8F73 #731D8F
tetradic
#8F731D #1D8F3A #1D398F #8F1D72
square
#8F731D #1D8F3A #1D398F #8F1D72
split-complementary
#8F731D #1D728F #3A1D8F
monochromatic
#292108 #5C4A13 #8F731D #C29C27 #DBB84C
Accessibility & contrast
On white
4.53
#8F731D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#8F731D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F731D
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F731D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F731D | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#9B6963
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8f731d; /* rgb */ color: rgb(143, 115, 29); /* oklch */ color: oklch(56.7% 0.105 89.7);
Tailwind
colors: {
custom: {
50: '#b49a60',
500: '#8f731d',
950: '#000000',
},
}SCSS
$custom: #8f731d; $custom-light: #b49a60; $custom-dark: #000000;
JSON
{
"hex": "#8f731d",
"rgb": {
"r": 143,
"g": 115,
"b": 29
},
"hsl": {
"h": 45.263,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.56744,
"c": 0.10528,
"h": 89.7
},
"luminance": 0.1819
}Semantic roles & 50–950 ramp
primary
#8F731D
secondary
#4B67BD
accent
#68E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79