#8F791F#8F791F
#8F791F is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.108 H 94.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8F791F |
|---|---|
| RGB | rgb(143, 121, 31) |
| HSL | hsl(48, 64%, 34%) |
| HSV | hsv(48, 78%, 56%) |
| CMYK | cmyk(0%, 15.4%, 78.3%, 43.9%) |
| CIE-LAB | lab(51.40, -1.20, 49.10) |
| CIE-LCH | lch(51.40, 49.12, 91.40°) |
| OKLab | oklab(58.07% -0.0086 0.1074) |
| OKLCH | oklch(58.07% 0.108 94.6) |
| XYZ | xyz(18.4134, 19.6144, 4.1121) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.27
Puke Brown
#947706
ΔE00 2.76
Baby Poop
#937C00
ΔE00 2.85
Poo
#8F7303
ΔE00 3.08
Yellowish Brown
#9B7A01
ΔE00 4.14
Ugly Brown
#7D7103
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F791F #1F358F
analogous
#8F411F #8F791F #6D8F1F
triadic
#8F791F #1F8F79 #791F8F
tetradic
#8F791F #1F8F41 #1F358F #8F1F6D
square
#8F791F #1F8F41 #1F358F #8F1F6D
split-complementary
#8F791F #1F6D8F #411F8F
monochromatic
#2A2409 #5D4E14 #8F791F #C1A42A #D9BE4F
Accessibility & contrast
On white
4.27
#8F791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#8F791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F791F
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F791F | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86770D
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#9B6F68
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8f791f; /* rgb */ color: rgb(143, 121, 31); /* oklch */ color: oklch(58.1% 0.108 94.6);
Tailwind
colors: {
custom: {
50: '#b49f62',
500: '#8f791f',
950: '#000000',
},
}SCSS
$custom: #8f791f; $custom-light: #b49f62; $custom-dark: #000000;
JSON
{
"hex": "#8f791f",
"rgb": {
"r": 143,
"g": 121,
"b": 31
},
"hsl": {
"h": 48.214,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.58067,
"c": 0.10778,
"h": 94.6
},
"luminance": 0.19613
}Semantic roles & 50–950 ramp
primary
#8F791F
secondary
#4E63BC
accent
#61E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A