#8F8727#8F8727
#8F8727 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.3% C 0.114 H 104.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8727 |
|---|---|
| RGB | rgb(143, 135, 39) |
| HSL | hsl(55, 57%, 36%) |
| HSV | hsv(55, 73%, 56%) |
| CMYK | cmyk(0%, 5.6%, 72.7%, 43.9%) |
| CIE-LAB | lab(55.40, -8.58, 49.86) |
| CIE-LCH | lch(55.40, 50.59, 99.76°) |
| OKLab | oklab(61.25% -0.0286 0.1106) |
| OKLCH | oklch(61.25% 0.114 104.5) |
| XYZ | xyz(20.3587, 23.3149, 5.3469) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.44
Baby Poop
#937C00
ΔE00 6.01
Drab
#828344
ΔE00 6.52
Diarrhea
#9F8303
ΔE00 6.66
Shit Green
#758000
ΔE00 6.82
Baby Poop Green
#8F9805
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8727 #272F8F
analogous
#8F5327 #8F8727 #638F27
triadic
#8F8727 #278F87 #87278F
tetradic
#8F8727 #278F53 #272F8F #8F2763
square
#8F8727 #278F53 #272F8F #8F2763
split-complementary
#8F8727 #27638F #53278F
monochromatic
#2F2C0D #5F5A1A #8F8727 #BFB434 #D3CA5D
Accessibility & contrast
On white
3.71
#8F8727 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#8F8727 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8727
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8727 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8727 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938217
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#9A7E74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8f8727; /* rgb */ color: rgb(143, 135, 39); /* oklch */ color: oklch(61.3% 0.114 104.5);
Tailwind
colors: {
custom: {
50: '#b3a968',
500: '#8f8727',
950: '#000000',
},
}SCSS
$custom: #8f8727; $custom-light: #b3a968; $custom-dark: #000000;
JSON
{
"hex": "#8f8727",
"rgb": {
"r": 143,
"g": 135,
"b": 39
},
"hsl": {
"h": 55.385,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.61254,
"c": 0.11429,
"h": 104.5
},
"luminance": 0.23314
}Semantic roles & 50–950 ramp
primary
#8F8727
secondary
#5A61B8
accent
#53E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A