#8F7215#8F7215
#8F7215 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.5% C 0.109 H 89.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7215 |
|---|---|
| RGB | rgb(143, 114, 21) |
| HSL | hsl(46, 74%, 32%) |
| HSV | hsv(46, 85%, 56%) |
| CMYK | cmyk(0%, 20.3%, 85.3%, 43.9%) |
| CIE-LAB | lab(49.41, 2.41, 50.74) |
| CIE-LCH | lch(49.41, 50.80, 87.29°) |
| OKLab | oklab(56.48% 0.0007 0.1088) |
| OKLCH | oklch(56.48% 0.109 89.7) |
| XYZ | xyz(17.4815, 17.9296, 3.2493) |
| Luminance | 0.1793 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poo
#8F7303
ΔE00 1.51
Hazel
#8E7618
ΔE00 2.07
Puke Brown
#947706
ΔE00 2.50
Muddy Brown
#886806
ΔE00 3.79
Yellowish Brown
#9B7A01
ΔE00 4.07
Baby Poop
#937C00
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7215 #15328F
analogous
#8F3515 #8F7215 #6F8F15
triadic
#8F7215 #158F72 #72158F
tetradic
#8F7215 #158F35 #15328F #8F156F
square
#8F7215 #158F35 #15328F #8F156F
split-complementary
#8F7215 #156F8F #35158F
monochromatic
#241D05 #5A470D #8F7215 #C49D1D #E2BB3C
Accessibility & contrast
On white
4.58
#8F7215 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#8F7215 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7215
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7215 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7215 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#87791B
Tritanopia (blue-blind)
#9C6761
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8f7215; /* rgb */ color: rgb(143, 114, 21); /* oklch */ color: oklch(56.5% 0.109 89.7);
Tailwind
colors: {
custom: {
50: '#b49a5d',
500: '#8f7215',
950: '#000000',
},
}SCSS
$custom: #8f7215; $custom-light: #b49a5d; $custom-dark: #000000;
JSON
{
"hex": "#8f7215",
"rgb": {
"r": 143,
"g": 114,
"b": 21
},
"hsl": {
"h": 45.738,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.56481,
"c": 0.10876,
"h": 89.7
},
"luminance": 0.17928
}Semantic roles & 50–950 ramp
primary
#8F7215
secondary
#3E5DC2
accent
#63F137
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79