#8F761F#8F761F
#8F761F is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.4% C 0.106 H 92.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8F761F |
|---|---|
| RGB | rgb(143, 118, 31) |
| HSL | hsl(47, 64%, 34%) |
| HSV | hsv(47, 78%, 56%) |
| CMYK | cmyk(0%, 17.5%, 78.3%, 43.9%) |
| CIE-LAB | lab(50.57, 0.50, 48.32) |
| CIE-LCH | lch(50.57, 48.33, 89.41°) |
| OKLab | oklab(57.41% -0.0038 0.1058) |
| OKLCH | oklch(57.41% 0.106 92) |
| XYZ | xyz(18.0545, 18.8965, 3.9925) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.89
Poo
#8F7303
ΔE00 2.32
Puke Brown
#947706
ΔE00 2.47
Baby Poop
#937C00
ΔE00 3.75
Yellowish Brown
#9B7A01
ΔE00 4.03
Muddy Brown
#886806
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F761F #1F388F
analogous
#8F3E1F #8F761F #708F1F
triadic
#8F761F #1F8F76 #761F8F
tetradic
#8F761F #1F8F3E #1F388F #8F1F70
square
#8F761F #1F8F3E #1F388F #8F1F70
split-complementary
#8F761F #1F708F #3E1F8F
monochromatic
#2A2309 #5D4C14 #8F761F #C1A02A #D9BA4F
Accessibility & contrast
On white
4.39
#8F761F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#8F761F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F761F
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F761F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F761F | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#9B6C65
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8f761f; /* rgb */ color: rgb(143, 118, 31); /* oklch */ color: oklch(57.4% 0.106 92.0);
Tailwind
colors: {
custom: {
50: '#b49d62',
500: '#8f761f',
950: '#000000',
},
}SCSS
$custom: #8f761f; $custom-light: #b49d62; $custom-dark: #000000;
JSON
{
"hex": "#8f761f",
"rgb": {
"r": 143,
"g": 118,
"b": 31
},
"hsl": {
"h": 46.607,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.57409,
"c": 0.10585,
"h": 92
},
"luminance": 0.18895
}Semantic roles & 50–950 ramp
primary
#8F761F
secondary
#4E66BC
accent
#66E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A