#8F8B15#8F8B15
#8F8B15 is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.1% C 0.128 H 107.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8B15 |
|---|---|
| RGB | rgb(143, 139, 21) |
| HSL | hsl(58, 74%, 32%) |
| HSV | hsv(58, 85%, 56%) |
| CMYK | cmyk(0%, 2.8%, 85.3%, 43.9%) |
| CIE-LAB | lab(56.45, -11.46, 56.69) |
| CIE-LCH | lch(56.45, 57.84, 101.43°) |
| OKLab | oklab(62.06% -0.0383 0.1218) |
| OKLCH | oklch(62.06% 0.128 107.5) |
| XYZ | xyz(20.6966, 24.3598, 4.3210) |
| Luminance | 0.2436 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.48
Baby Poop Green
#8F9805
ΔE00 5.04
Pea Soup
#929901
ΔE00 5.14
Baby Shit Green
#889717
ΔE00 5.73
Shit Green
#758000
ΔE00 6.61
Swamp Green
#748500
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8B15 #15198F
analogous
#8F4E15 #8F8B15 #568F15
triadic
#8F8B15 #158F8B #8B158F
tetradic
#8F8B15 #158F4E #15198F #8F1556
square
#8F8B15 #158F4E #15198F #8F1556
split-complementary
#8F8B15 #15568F #4E158F
monochromatic
#242305 #5A570D #8F8B15 #C4BF1D #E2DD3C
Accessibility & contrast
On white
3.58
#8F8B15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#8F8B15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8B15
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8B15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8B15 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#9A8921
Tritanopia (blue-blind)
#9A8176
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8f8b15; /* rgb */ color: rgb(143, 139, 21); /* oklch */ color: oklch(62.1% 0.128 107.5);
Tailwind
colors: {
custom: {
50: '#b4ac60',
500: '#8f8b15',
950: '#000000',
},
}SCSS
$custom: #8f8b15; $custom-light: #b4ac60; $custom-dark: #000000;
JSON
{
"hex": "#8f8b15",
"rgb": {
"r": 143,
"g": 139,
"b": 21
},
"hsl": {
"h": 58.033,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.62062,
"c": 0.12764,
"h": 107.5
},
"luminance": 0.24359
}Semantic roles & 50–950 ramp
primary
#8F8B15
secondary
#3E42C2
accent
#3DF137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A