#8F772D#8F772D
#8F772D is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.7% C 0.097 H 90.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8F772D |
|---|---|
| RGB | rgb(143, 119, 45) |
| HSL | hsl(45, 52%, 37%) |
| HSV | hsv(45, 69%, 56%) |
| CMYK | cmyk(0%, 16.8%, 68.5%, 43.9%) |
| CIE-LAB | lab(50.95, 0.67, 42.76) |
| CIE-LCH | lch(50.95, 42.76, 89.10°) |
| OKLab | oklab(57.74% -0.0016 0.0967) |
| OKLCH | oklch(57.74% 0.097 90.9) |
| XYZ | xyz(18.3991, 19.2238, 5.2236) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.67
Poo
#8F7303
ΔE00 4.10
Puke Brown
#947706
ΔE00 4.14
Baby Poop
#937C00
ΔE00 5.17
Yellowish Brown
#9B7A01
ΔE00 5.30
Muddy Brown
#886806
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F772D #2D458F
analogous
#8F462D #8F772D #768F2D
triadic
#8F772D #2D8F77 #772D8F
tetradic
#8F772D #2D8F46 #2D458F #8F2D76
square
#8F772D #2D8F46 #2D458F #8F2D76
split-complementary
#8F772D #2D768F #462D8F
monochromatic
#322A10 #60501E #8F772D #BE9E3C #CFB667
Accessibility & contrast
On white
4.33
#8F772D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#8F772D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F772D
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F772D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F772D | 1.00 | 4.33 | 4.84 | 4.84 |
| #FFFFFF | 4.33 | 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)
#847524
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#9B6D67
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8f772d; /* rgb */ color: rgb(143, 119, 45); /* oklch */ color: oklch(57.7% 0.097 90.9);
Tailwind
colors: {
custom: {
50: '#b39e6a',
500: '#8f772d',
950: '#000000',
},
}SCSS
$custom: #8f772d; $custom-light: #b39e6a; $custom-dark: #000000;
JSON
{
"hex": "#8f772d",
"rgb": {
"r": 143,
"g": 119,
"b": 45
},
"hsl": {
"h": 45.306,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.57744,
"c": 0.09673,
"h": 90.9
},
"luminance": 0.19223
}Semantic roles & 50–950 ramp
primary
#8F772D
secondary
#6276B6
accent
#6FDC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A