#8F8F26#8F8F26
#8F8F26 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.123 H 109.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8F26 |
|---|---|
| RGB | rgb(143, 143, 38) |
| HSL | hsl(60, 58%, 35%) |
| HSV | hsv(60, 73%, 56%) |
| CMYK | cmyk(0%, 0%, 73.4%, 43.9%) |
| CIE-LAB | lab(57.68, -12.93, 52.45) |
| CIE-LCH | lch(57.68, 54.02, 103.85°) |
| OKLab | oklab(63.07% -0.041 0.1159) |
| OKLCH | oklch(63.07% 0.123 109.5) |
| XYZ | xyz(21.5008, 25.6251, 5.6469) |
| Luminance | 0.2562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.12
Baby Shit Green
#889717
ΔE00 4.32
Pea Soup
#929901
ΔE00 4.37
Olive
#808000
ΔE00 5.67
Swamp Green
#748500
ΔE00 6.54
Ugly Green
#7A9703
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8F26 #26268F
analogous
#8F5A26 #8F8F26 #5A8F26
triadic
#8F8F26 #268F8F #8F268F
tetradic
#8F8F26 #268F5A #26268F #8F265A
square
#8F8F26 #268F5A #26268F #8F265A
split-complementary
#8F8F26 #265A8F #5A268F
monochromatic
#2E2E0C #5F5F19 #8F8F26 #BFBF33 #D4D45C
Accessibility & contrast
On white
3.43
#8F8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#8F8F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8F26
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8F26 | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8912
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#99867B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8f8f26; /* rgb */ color: rgb(143, 143, 38); /* oklch */ color: oklch(63.1% 0.123 109.5);
Tailwind
colors: {
custom: {
50: '#b3af68',
500: '#8f8f26',
950: '#000000',
},
}SCSS
$custom: #8f8f26; $custom-light: #b3af68; $custom-dark: #000000;
JSON
{
"hex": "#8f8f26",
"rgb": {
"r": 143,
"g": 143,
"b": 38
},
"hsl": {
"h": 60,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.63073,
"c": 0.12297,
"h": 109.5
},
"luminance": 0.25625
}Semantic roles & 50–950 ramp
primary
#8F8F26
secondary
#5858B9
accent
#47E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A