#8F7728#8F7728
#8F7728 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.7% C 0.101 H 91.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7728 |
|---|---|
| RGB | rgb(143, 119, 40) |
| HSL | hsl(46, 56%, 36%) |
| HSV | hsv(46, 72%, 56%) |
| CMYK | cmyk(0%, 16.8%, 72%, 43.9%) |
| CIE-LAB | lab(50.91, 0.38, 44.97) |
| CIE-LCH | lch(50.91, 44.97, 89.52°) |
| OKLab | oklab(57.7% -0.0031 0.1005) |
| OKLCH | oklch(57.7% 0.101 91.7) |
| XYZ | xyz(18.3085, 19.1876, 4.7463) |
| Luminance | 0.1919 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.91
Poo
#8F7303
ΔE00 3.43
Puke Brown
#947706
ΔE00 3.45
Baby Poop
#937C00
ΔE00 4.46
Yellowish Brown
#9B7A01
ΔE00 4.74
Ugly Brown
#7D7103
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7728 #28408F
analogous
#8F4328 #8F7728 #738F28
triadic
#8F7728 #288F77 #77288F
tetradic
#8F7728 #288F43 #28408F #8F2873
square
#8F7728 #288F43 #28408F #8F2873
split-complementary
#8F7728 #28738F #43288F
monochromatic
#2F270D #5F4F1B #8F7728 #BF9F35 #D2B75F
Accessibility & contrast
On white
4.34
#8F7728 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#8F7728 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7728
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7728 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84751D
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#9B6D67
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8f7728; /* rgb */ color: rgb(143, 119, 40); /* oklch */ color: oklch(57.7% 0.101 91.7);
Tailwind
colors: {
custom: {
50: '#b39d67',
500: '#8f7728',
950: '#000000',
},
}SCSS
$custom: #8f7728; $custom-light: #b39d67; $custom-dark: #000000;
JSON
{
"hex": "#8f7728",
"rgb": {
"r": 143,
"g": 119,
"b": 40
},
"hsl": {
"h": 46.019,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.57698,
"c": 0.10055,
"h": 91.7
},
"luminance": 0.19186
}Semantic roles & 50–950 ramp
primary
#8F7728
secondary
#5B71B8
accent
#6BE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A