#8F8527#8F8527
#8F8527 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 | #8F8527 |
|---|---|
| RGB | rgb(143, 133, 39) |
| HSL | hsl(54, 57%, 36%) |
| HSV | hsv(54, 73%, 56%) |
| CMYK | cmyk(0%, 7%, 72.7%, 43.9%) |
| CIE-LAB | lab(54.83, -7.48, 49.30) |
| CIE-LCH | lch(54.83, 49.86, 98.63°) |
| OKLab | oklab(60.8% -0.0256 0.1095) |
| OKLCH | oklch(60.8% 0.112 103.1) |
| XYZ | xyz(20.0823, 22.7620, 5.2547) |
| Luminance | 0.2276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.50
Baby Poop
#937C00
ΔE00 5.30
Diarrhea
#9F8303
ΔE00 6.17
Drab
#828344
ΔE00 6.52
Hazel
#8E7618
ΔE00 6.54
Shit Green
#758000
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8527 #27318F
analogous
#8F5127 #8F8527 #658F27
triadic
#8F8527 #278F85 #85278F
tetradic
#8F8527 #278F51 #27318F #8F2765
square
#8F8527 #278F51 #27318F #8F2765
split-complementary
#8F8527 #27658F #51278F
monochromatic
#2F2C0D #5F581A #8F8527 #BFB234 #D3C85D
Accessibility & contrast
On white
3.78
#8F8527 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#8F8527 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8527
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8527 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8527 | 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)
#918118
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#9A7B72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8f8527; /* rgb */ color: rgb(143, 133, 39); /* oklch */ color: oklch(60.8% 0.112 103.1);
Tailwind
colors: {
custom: {
50: '#b3a868',
500: '#8f8527',
950: '#000000',
},
}SCSS
$custom: #8f8527; $custom-light: #b3a868; $custom-dark: #000000;
JSON
{
"hex": "#8f8527",
"rgb": {
"r": 143,
"g": 133,
"b": 39
},
"hsl": {
"h": 54.231,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.60801,
"c": 0.1124,
"h": 103.1
},
"luminance": 0.22761
}Semantic roles & 50–950 ramp
primary
#8F8527
secondary
#5A63B8
accent
#56E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A