#8F7828#8F7828
#8F7828 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.9% C 0.101 H 92.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7828 |
|---|---|
| RGB | rgb(143, 120, 40) |
| HSL | hsl(47, 56%, 36%) |
| HSV | hsv(47, 72%, 56%) |
| CMYK | cmyk(0%, 16.1%, 72%, 43.9%) |
| CIE-LAB | lab(51.18, -0.19, 45.25) |
| CIE-LCH | lch(51.18, 45.25, 90.24°) |
| OKLab | oklab(57.92% -0.0047 0.1011) |
| OKLCH | oklch(57.92% 0.101 92.7) |
| XYZ | xyz(18.4281, 19.4268, 4.7862) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.86
Puke Brown
#947706
ΔE00 3.46
Poo
#8F7303
ΔE00 3.56
Baby Poop
#937C00
ΔE00 4.17
Yellowish Brown
#9B7A01
ΔE00 4.73
Ugly Brown
#7D7103
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7828 #283F8F
analogous
#8F4428 #8F7828 #728F28
triadic
#8F7828 #288F78 #78288F
tetradic
#8F7828 #288F44 #283F8F #8F2872
square
#8F7828 #288F44 #283F8F #8F2872
split-complementary
#8F7828 #28728F #44288F
monochromatic
#2F280D #5F501B #8F7828 #BFA035 #D2B95F
Accessibility & contrast
On white
4.30
#8F7828 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#8F7828 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7828
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7828 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#9B6E68
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8f7828; /* rgb */ color: rgb(143, 120, 40); /* oklch */ color: oklch(57.9% 0.101 92.7);
Tailwind
colors: {
custom: {
50: '#b39e67',
500: '#8f7828',
950: '#000000',
},
}SCSS
$custom: #8f7828; $custom-light: #b39e67; $custom-dark: #000000;
JSON
{
"hex": "#8f7828",
"rgb": {
"r": 143,
"g": 120,
"b": 40
},
"hsl": {
"h": 46.602,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.57916,
"c": 0.1012,
"h": 92.7
},
"luminance": 0.19426
}Semantic roles & 50–950 ramp
primary
#8F7828
secondary
#5B70B8
accent
#6AE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A