#8F7A15#8F7A15
#8F7A15 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.2% C 0.114 H 96.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7A15 |
|---|---|
| RGB | rgb(143, 122, 21) |
| HSL | hsl(50, 74%, 32%) |
| HSV | hsv(50, 85%, 56%) |
| CMYK | cmyk(0%, 14.7%, 85.3%, 43.9%) |
| CIE-LAB | lab(51.63, -2.13, 52.62) |
| CIE-LCH | lch(51.63, 52.67, 92.31°) |
| OKLab | oklab(58.23% -0.0122 0.1129) |
| OKLCH | oklch(58.23% 0.114 96.2) |
| XYZ | xyz(18.4236, 19.8139, 3.5634) |
| Luminance | 0.1981 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 1.80
Hazel
#8E7618
ΔE00 1.83
Puke Brown
#947706
ΔE00 2.68
Poo
#8F7303
ΔE00 3.19
Yellowish Brown
#9B7A01
ΔE00 3.98
Diarrhea
#9F8303
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7A15 #152A8F
analogous
#8F3D15 #8F7A15 #678F15
triadic
#8F7A15 #158F7A #7A158F
tetradic
#8F7A15 #158F3D #152A8F #8F1567
square
#8F7A15 #158F3D #152A8F #8F1567
split-complementary
#8F7A15 #15678F #3D158F
monochromatic
#241F05 #5A4C0D #8F7A15 #C4A81D #E2C63C
Accessibility & contrast
On white
4.23
#8F7A15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#8F7A15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7A15
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7A15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7A15 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8D7E1D
Tritanopia (blue-blind)
#9B7068
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8f7a15; /* rgb */ color: rgb(143, 122, 21); /* oklch */ color: oklch(58.2% 0.114 96.2);
Tailwind
colors: {
custom: {
50: '#b4a05e',
500: '#8f7a15',
950: '#000000',
},
}SCSS
$custom: #8f7a15; $custom-light: #b4a05e; $custom-dark: #000000;
JSON
{
"hex": "#8f7a15",
"rgb": {
"r": 143,
"g": 122,
"b": 21
},
"hsl": {
"h": 49.672,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.58231,
"c": 0.11354,
"h": 96.2
},
"luminance": 0.19813
}Semantic roles & 50–950 ramp
primary
#8F7A15
secondary
#3E55C2
accent
#57F137
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79