#8F8524#8F8524
#8F8524 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.8% C 0.114 H 103.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8524 |
|---|---|
| RGB | rgb(143, 133, 36) |
| HSL | hsl(54, 60%, 35%) |
| HSV | hsv(54, 75%, 56%) |
| CMYK | cmyk(0%, 7%, 74.8%, 43.9%) |
| CIE-LAB | lab(54.81, -7.63, 50.45) |
| CIE-LCH | lch(54.81, 51.02, 98.61°) |
| OKLab | oklab(60.78% -0.0263 0.1113) |
| OKLCH | oklch(60.78% 0.114 103.3) |
| XYZ | xyz(20.0345, 22.7429, 5.0032) |
| Luminance | 0.2274 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.33
Baby Poop
#937C00
ΔE00 5.16
Diarrhea
#9F8303
ΔE00 6.03
Hazel
#8E7618
ΔE00 6.55
Drab
#828344
ΔE00 6.81
Shit Green
#758000
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8524 #242E8F
analogous
#8F5024 #8F8524 #638F24
triadic
#8F8524 #248F85 #85248F
tetradic
#8F8524 #248F50 #242E8F #8F2463
square
#8F8524 #248F50 #242E8F #8F2463
split-complementary
#8F8524 #24638F #50248F
monochromatic
#2D2A0B #5E5818 #8F8524 #C0B230 #D5C958
Accessibility & contrast
On white
3.78
#8F8524 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#8F8524 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8524
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8524 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8524 | 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)
#918012
Deuteranopia (green-blind)
#95852B
Tritanopia (blue-blind)
#9A7B72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8f8524; /* rgb */ color: rgb(143, 133, 36); /* oklch */ color: oklch(60.8% 0.114 103.3);
Tailwind
colors: {
custom: {
50: '#b3a866',
500: '#8f8524',
950: '#000000',
},
}SCSS
$custom: #8f8524; $custom-light: #b3a866; $custom-dark: #000000;
JSON
{
"hex": "#8f8524",
"rgb": {
"r": 143,
"g": 133,
"b": 36
},
"hsl": {
"h": 54.393,
"s": 59.777,
"l": 35.098
},
"oklch": {
"l": 0.60779,
"c": 0.11437,
"h": 103.3
},
"luminance": 0.22742
}Semantic roles & 50–950 ramp
primary
#8F8524
secondary
#555FB9
accent
#54E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A