#8F951C#8F951C
#8F951C is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.135 H 112.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8F951C |
|---|---|
| RGB | rgb(143, 149, 28) |
| HSL | hsl(63, 68%, 35%) |
| HSV | hsv(63, 81%, 58%) |
| CMYK | cmyk(4%, 0%, 81.2%, 41.6%) |
| CIE-LAB | lab(59.36, -16.51, 57.29) |
| CIE-LCH | lch(59.36, 59.62, 106.08°) |
| OKLab | oklab(64.4% -0.0518 0.1244) |
| OKLCH | oklch(64.4% 0.135 112.6) |
| XYZ | xyz(22.2855, 27.4189, 5.2168) |
| Luminance | 0.2742 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 1.68
Pea Soup
#929901
ΔE00 2.08
Baby Shit Green
#889717
ΔE00 2.21
Ugly Green
#7A9703
ΔE00 5.28
Vomit Green
#89A203
ΔE00 5.34
Vomit
#A2A415
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F951C #221C95
analogous
#955E1C #8F951C #53951C
triadic
#8F951C #1C8F95 #951C8F
tetradic
#8F951C #1C955E #221C95 #951C53
square
#8F951C #1C955E #221C95 #951C53
split-complementary
#8F951C #1C5395 #5E1C95
monochromatic
#2C2E09 #5E6112 #8F951C #C0C926 #D7DE4E
Accessibility & contrast
On white
3.24
#8F951C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#8F951C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F951C
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F951C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F951C | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A19028
Tritanopia (blue-blind)
#998B7F
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #8f951c; /* rgb */ color: rgb(143, 149, 28); /* oklch */ color: oklch(64.4% 0.135 112.6);
Tailwind
colors: {
custom: {
50: '#b3b365',
500: '#8f951c',
950: '#000000',
},
}SCSS
$custom: #8f951c; $custom-light: #b3b365; $custom-dark: #000000;
JSON
{
"hex": "#8f951c",
"rgb": {
"r": 143,
"g": 149,
"b": 28
},
"hsl": {
"h": 62.975,
"s": 68.362,
"l": 34.706
},
"oklch": {
"l": 0.644,
"c": 0.13472,
"h": 112.6
},
"luminance": 0.27418
}Semantic roles & 50–950 ramp
primary
#8F951C
secondary
#524DC0
accent
#3DEB45
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A