#8F8019#8F8019
#8F8019 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.116 H 100.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8019 |
|---|---|
| RGB | rgb(143, 128, 25) |
| HSL | hsl(52, 70%, 33%) |
| HSV | hsv(52, 83%, 56%) |
| CMYK | cmyk(0%, 10.5%, 82.5%, 43.9%) |
| CIE-LAB | lab(53.33, -5.34, 52.89) |
| CIE-LCH | lch(53.33, 53.16, 95.76°) |
| OKLab | oklab(59.59% -0.0209 0.1143) |
| OKLCH | oklch(59.59% 0.116 100.4) |
| XYZ | xyz(19.2233, 21.3491, 4.0278) |
| Luminance | 0.2135 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.97
Hazel
#8E7618
ΔE00 4.46
Diarrhea
#9F8303
ΔE00 4.74
Olive
#808000
ΔE00 4.76
Puke Brown
#947706
ΔE00 5.12
Yellowish Brown
#9B7A01
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8019 #19288F
analogous
#8F4519 #8F8019 #638F19
triadic
#8F8019 #198F80 #80198F
tetradic
#8F8019 #198F45 #19288F #8F1963
square
#8F8019 #198F45 #19288F #8F1963
split-complementary
#8F8019 #19638F #45198F
monochromatic
#272307 #5B5110 #8F8019 #C3AF22 #DECB44
Accessibility & contrast
On white
3.99
#8F8019 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#8F8019 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8019
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8019 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8019 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#9B766D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8f8019; /* rgb */ color: rgb(143, 128, 25); /* oklch */ color: oklch(59.6% 0.116 100.4);
Tailwind
colors: {
custom: {
50: '#b4a460',
500: '#8f8019',
950: '#000000',
},
}SCSS
$custom: #8f8019; $custom-light: #b4a460; $custom-dark: #000000;
JSON
{
"hex": "#8f8019",
"rgb": {
"r": 143,
"g": 128,
"b": 25
},
"hsl": {
"h": 52.373,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.59586,
"c": 0.1162,
"h": 100.4
},
"luminance": 0.21348
}Semantic roles & 50–950 ramp
primary
#8F8019
secondary
#4454BF
accent
#51ED3B
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A