#8F8016#8F8016
#8F8016 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.118 H 100.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8016 |
|---|---|
| RGB | rgb(143, 128, 22) |
| HSL | hsl(53, 73%, 32%) |
| HSV | hsv(53, 85%, 56%) |
| CMYK | cmyk(0%, 10.5%, 84.6%, 43.9%) |
| CIE-LAB | lab(53.32, -5.44, 53.77) |
| CIE-LCH | lch(53.32, 54.05, 95.78°) |
| OKLab | oklab(59.57% -0.0214 0.1156) |
| OKLCH | oklch(59.57% 0.118 100.5) |
| XYZ | xyz(19.1927, 21.3369, 3.8664) |
| Luminance | 0.2134 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.87
Hazel
#8E7618
ΔE00 4.52
Diarrhea
#9F8303
ΔE00 4.67
Olive
#808000
ΔE00 4.70
Puke Brown
#947706
ΔE00 5.11
Yellowish Brown
#9B7A01
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8016 #16258F
analogous
#8F4416 #8F8016 #628F16
triadic
#8F8016 #168F80 #80168F
tetradic
#8F8016 #168F44 #16258F #8F1662
square
#8F8016 #168F44 #16258F #8F1662
split-complementary
#8F8016 #16628F #44168F
monochromatic
#252106 #5A510E #8F8016 #C4AF1E #E1CD3E
Accessibility & contrast
On white
3.99
#8F8016 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#8F8016 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8016
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8016 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8016 | 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)
#91821F
Tritanopia (blue-blind)
#9B766D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8f8016; /* rgb */ color: rgb(143, 128, 22); /* oklch */ color: oklch(59.6% 0.118 100.5);
Tailwind
colors: {
custom: {
50: '#b4a45f',
500: '#8f8016',
950: '#000000',
},
}SCSS
$custom: #8f8016; $custom-light: #b4a45f; $custom-dark: #000000;
JSON
{
"hex": "#8f8016",
"rgb": {
"r": 143,
"g": 128,
"b": 22
},
"hsl": {
"h": 52.562,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.59572,
"c": 0.11757,
"h": 100.5
},
"luminance": 0.21336
}Semantic roles & 50–950 ramp
primary
#8F8016
secondary
#3F50C1
accent
#4FF038
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79