#8F792D#8F792D
#8F792D is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.2% C 0.098 H 92.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8F792D |
|---|---|
| RGB | rgb(143, 121, 45) |
| HSL | hsl(47, 52%, 37%) |
| HSV | hsv(47, 69%, 56%) |
| CMYK | cmyk(0%, 15.4%, 68.5%, 43.9%) |
| CIE-LAB | lab(51.50, -0.46, 43.34) |
| CIE-LCH | lch(51.50, 43.34, 90.61°) |
| OKLab | oklab(58.18% -0.0048 0.098) |
| OKLCH | oklch(58.18% 0.098 92.8) |
| XYZ | xyz(18.6396, 19.7049, 5.3037) |
| Luminance | 0.1970 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.58
Puke Brown
#947706
ΔE00 4.13
Poo
#8F7303
ΔE00 4.30
Baby Poop
#937C00
ΔE00 4.64
Yellowish Brown
#9B7A01
ΔE00 5.26
Ugly Brown
#7D7103
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F792D #2D438F
analogous
#8F482D #8F792D #748F2D
triadic
#8F792D #2D8F79 #792D8F
tetradic
#8F792D #2D8F48 #2D438F #8F2D74
square
#8F792D #2D8F48 #2D438F #8F2D74
split-complementary
#8F792D #2D748F #482D8F
monochromatic
#322A10 #60521E #8F792D #BEA03C #CFB867
Accessibility & contrast
On white
4.25
#8F792D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#8F792D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F792D
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F792D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F792D | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#9B6F69
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8f792d; /* rgb */ color: rgb(143, 121, 45); /* oklch */ color: oklch(58.2% 0.098 92.8);
Tailwind
colors: {
custom: {
50: '#b39f6a',
500: '#8f792d',
950: '#000000',
},
}SCSS
$custom: #8f792d; $custom-light: #b39f6a; $custom-dark: #000000;
JSON
{
"hex": "#8f792d",
"rgb": {
"r": 143,
"g": 121,
"b": 45
},
"hsl": {
"h": 46.531,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.58182,
"c": 0.09808,
"h": 92.8
},
"luminance": 0.19704
}Semantic roles & 50–950 ramp
primary
#8F792D
secondary
#6275B6
accent
#6CDC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A