#8F751F#8F751F
#8F751F is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.2% C 0.105 H 91.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8F751F |
|---|---|
| RGB | rgb(143, 117, 31) |
| HSL | hsl(46, 64%, 34%) |
| HSV | hsv(46, 78%, 56%) |
| CMYK | cmyk(0%, 18.2%, 78.3%, 43.9%) |
| CIE-LAB | lab(50.29, 1.07, 48.07) |
| CIE-LCH | lch(50.29, 48.08, 88.73°) |
| OKLab | oklab(57.19% -0.0021 0.1052) |
| OKLCH | oklch(57.19% 0.105 91.2) |
| XYZ | xyz(17.9373, 18.6623, 3.9535) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.22
Poo
#8F7303
ΔE00 2.23
Puke Brown
#947706
ΔE00 2.57
Yellowish Brown
#9B7A01
ΔE00 4.11
Baby Poop
#937C00
ΔE00 4.14
Muddy Brown
#886806
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F751F #1F398F
analogous
#8F3D1F #8F751F #718F1F
triadic
#8F751F #1F8F75 #751F8F
tetradic
#8F751F #1F8F3D #1F398F #8F1F71
square
#8F751F #1F8F3D #1F398F #8F1F71
split-complementary
#8F751F #1F718F #3D1F8F
monochromatic
#2A2309 #5D4C14 #8F751F #C19E2A #D9B94F
Accessibility & contrast
On white
4.44
#8F751F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#8F751F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F751F
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F751F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F751F | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#9B6B64
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8f751f; /* rgb */ color: rgb(143, 117, 31); /* oklch */ color: oklch(57.2% 0.105 91.2);
Tailwind
colors: {
custom: {
50: '#b49c62',
500: '#8f751f',
950: '#000000',
},
}SCSS
$custom: #8f751f; $custom-light: #b49c62; $custom-dark: #000000;
JSON
{
"hex": "#8f751f",
"rgb": {
"r": 143,
"g": 117,
"b": 31
},
"hsl": {
"h": 46.071,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.57191,
"c": 0.10524,
"h": 91.2
},
"luminance": 0.18661
}Semantic roles & 50–950 ramp
primary
#8F751F
secondary
#4E67BC
accent
#67E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A