#8F8920#8F8920
#8F8920 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.121 H 106.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8920 |
|---|---|
| RGB | rgb(143, 137, 32) |
| HSL | hsl(57, 63%, 34%) |
| HSV | hsv(57, 78%, 56%) |
| CMYK | cmyk(0%, 4.2%, 77.6%, 43.9%) |
| CIE-LAB | lab(55.92, -9.99, 52.94) |
| CIE-LCH | lch(55.92, 53.87, 100.69°) |
| OKLab | oklab(61.66% -0.0333 0.1158) |
| OKLCH | oklch(61.66% 0.121 106) |
| XYZ | xyz(20.5349, 23.8360, 4.8853) |
| Luminance | 0.2384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.29
Baby Poop Green
#8F9805
ΔE00 6.11
Pea Soup
#929901
ΔE00 6.23
Baby Poop
#937C00
ΔE00 6.54
Baby Shit Green
#889717
ΔE00 6.56
Shit Green
#758000
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8920 #20268F
analogous
#8F5220 #8F8920 #5E8F20
triadic
#8F8920 #208F89 #89208F
tetradic
#8F8920 #208F52 #20268F #8F205E
square
#8F8920 #208F52 #20268F #8F205E
split-complementary
#8F8920 #205E8F #52208F
monochromatic
#2B290A #5D5915 #8F8920 #C1B92B #D8D151
Accessibility & contrast
On white
3.64
#8F8920 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#8F8920 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8920
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8920 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8920 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958407
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8f8920; /* rgb */ color: rgb(143, 137, 32); /* oklch */ color: oklch(61.7% 0.121 106.0);
Tailwind
colors: {
custom: {
50: '#b3ab65',
500: '#8f8920',
950: '#000000',
},
}SCSS
$custom: #8f8920; $custom-light: #b3ab65; $custom-dark: #000000;
JSON
{
"hex": "#8f8920",
"rgb": {
"r": 143,
"g": 137,
"b": 32
},
"hsl": {
"h": 56.757,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.61661,
"c": 0.12052,
"h": 106
},
"luminance": 0.23835
}Semantic roles & 50–950 ramp
primary
#8F8920
secondary
#4F55BB
accent
#4AE641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A