#8F7422#8F7422
#8F7422 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 57.0% C 0.103 H 89.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7422 |
|---|---|
| RGB | rgb(143, 116, 34) |
| HSL | hsl(45, 62%, 35%) |
| HSV | hsv(45, 76%, 56%) |
| CMYK | cmyk(0%, 18.9%, 76.2%, 43.9%) |
| CIE-LAB | lab(50.03, 1.77, 46.64) |
| CIE-LCH | lch(50.03, 46.67, 87.82°) |
| OKLab | oklab(57% 0.0002 0.1028) |
| OKLCH | oklch(57% 0.103 89.9) |
| XYZ | xyz(17.8628, 18.4470, 4.1329) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.94
Poo
#8F7303
ΔE00 2.64
Puke Brown
#947706
ΔE00 3.09
Yellowish Brown
#9B7A01
ΔE00 4.50
Muddy Brown
#886806
ΔE00 4.72
Baby Poop
#937C00
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7422 #223D8F
analogous
#8F3E22 #8F7422 #738F22
triadic
#8F7422 #228F74 #74228F
tetradic
#8F7422 #228F3E #223D8F #8F2273
square
#8F7422 #228F3E #223D8F #8F2273
split-complementary
#8F7422 #22738F #3E228F
monochromatic
#2C240A #5E4C16 #8F7422 #C09C2E #D7B655
Accessibility & contrast
On white
4.48
#8F7422 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#8F7422 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7422
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7422 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7422 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#9B6A64
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8f7422; /* rgb */ color: rgb(143, 116, 34); /* oklch */ color: oklch(57.0% 0.103 89.9);
Tailwind
colors: {
custom: {
50: '#b49b63',
500: '#8f7422',
950: '#000000',
},
}SCSS
$custom: #8f7422; $custom-light: #b49b63; $custom-dark: #000000;
JSON
{
"hex": "#8f7422",
"rgb": {
"r": 143,
"g": 116,
"b": 34
},
"hsl": {
"h": 45.138,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.56996,
"c": 0.10283,
"h": 89.9
},
"luminance": 0.18446
}Semantic roles & 50–950 ramp
primary
#8F7422
secondary
#526CBA
accent
#6BE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A