#8F8528#8F8528
#8F8528 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.112 H 103.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8528 |
|---|---|
| RGB | rgb(143, 133, 40) |
| HSL | hsl(54, 56%, 36%) |
| HSV | hsv(54, 72%, 56%) |
| CMYK | cmyk(0%, 7%, 72%, 43.9%) |
| CIE-LAB | lab(54.83, -7.43, 48.90) |
| CIE-LCH | lch(54.83, 49.47, 98.64°) |
| OKLab | oklab(60.81% -0.0253 0.1088) |
| OKLCH | oklch(60.81% 0.112 103.1) |
| XYZ | xyz(20.0991, 22.7687, 5.3432) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.57
Baby Poop
#937C00
ΔE00 5.35
Diarrhea
#9F8303
ΔE00 6.22
Drab
#828344
ΔE00 6.42
Hazel
#8E7618
ΔE00 6.55
Shit Green
#758000
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8528 #28328F
analogous
#8F5128 #8F8528 #658F28
triadic
#8F8528 #288F85 #85288F
tetradic
#8F8528 #288F51 #28328F #8F2865
square
#8F8528 #288F51 #28328F #8F2865
split-complementary
#8F8528 #28658F #51288F
monochromatic
#2F2C0D #5F591B #8F8528 #BFB135 #D2C75F
Accessibility & contrast
On white
3.78
#8F8528 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#8F8528 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8528
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8528 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8528 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918119
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8f8528; /* rgb */ color: rgb(143, 133, 40); /* oklch */ color: oklch(60.8% 0.112 103.1);
Tailwind
colors: {
custom: {
50: '#b3a868',
500: '#8f8528',
950: '#000000',
},
}SCSS
$custom: #8f8528; $custom-light: #b3a868; $custom-dark: #000000;
JSON
{
"hex": "#8f8528",
"rgb": {
"r": 143,
"g": 133,
"b": 40
},
"hsl": {
"h": 54.175,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.60809,
"c": 0.11172,
"h": 103.1
},
"luminance": 0.22768
}Semantic roles & 50–950 ramp
primary
#8F8528
secondary
#5B64B8
accent
#57E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A