#8F8919#8F8919
#8F8919 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.124 H 106.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8919 |
|---|---|
| RGB | rgb(143, 137, 25) |
| HSL | hsl(57, 70%, 33%) |
| HSV | hsv(57, 83%, 56%) |
| CMYK | cmyk(0%, 4.2%, 82.5%, 43.9%) |
| CIE-LAB | lab(55.89, -10.26, 55.12) |
| CIE-LCH | lch(55.89, 56.07, 100.54°) |
| OKLab | oklab(61.62% -0.0347 0.1191) |
| OKLCH | oklch(61.62% 0.124 106.2) |
| XYZ | xyz(20.4497, 23.8019, 4.4366) |
| Luminance | 0.2380 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.16
Baby Poop Green
#8F9805
ΔE00 5.92
Pea Soup
#929901
ΔE00 6.01
Baby Poop
#937C00
ΔE00 6.42
Baby Shit Green
#889717
ΔE00 6.52
Shit Green
#758000
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8919 #191F8F
analogous
#8F4E19 #8F8919 #5A8F19
triadic
#8F8919 #198F89 #89198F
tetradic
#8F8919 #198F4E #191F8F #8F195A
square
#8F8919 #198F4E #191F8F #8F195A
split-complementary
#8F8919 #195A8F #4E198F
monochromatic
#272507 #5B5710 #8F8919 #C3BB22 #DED644
Accessibility & contrast
On white
3.65
#8F8919 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#8F8919 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8919
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8919 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8919 | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8f8919; /* rgb */ color: rgb(143, 137, 25); /* oklch */ color: oklch(61.6% 0.124 106.2);
Tailwind
colors: {
custom: {
50: '#b4ab62',
500: '#8f8919',
950: '#000000',
},
}SCSS
$custom: #8f8919; $custom-light: #b4ab62; $custom-dark: #000000;
JSON
{
"hex": "#8f8919",
"rgb": {
"r": 143,
"g": 137,
"b": 25
},
"hsl": {
"h": 56.949,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.61622,
"c": 0.12407,
"h": 106.2
},
"luminance": 0.23801
}Semantic roles & 50–950 ramp
primary
#8F8919
secondary
#444BBF
accent
#44ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A