#9F9826#9F9826
#9F9826 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.6% C 0.129 H 105.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9826 |
|---|---|
| RGB | rgb(159, 152, 38) |
| HSL | hsl(57, 61%, 39%) |
| HSV | hsv(57, 76%, 62%) |
| CMYK | cmyk(0%, 4.4%, 76.1%, 37.6%) |
| CIE-LAB | lab(61.63, -10.54, 56.67) |
| CIE-LCH | lch(61.63, 57.64, 100.53°) |
| OKLab | oklab(66.56% -0.0351 0.1243) |
| OKLCH | oklch(66.56% 0.129 105.8) |
| XYZ | xyz(25.8772, 29.9683, 6.2547) |
| Luminance | 0.2997 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.02
Vomit
#A2A415
ΔE00 4.38
Baby Poop Green
#8F9805
ΔE00 4.47
Puke
#A5A502
ΔE00 4.85
Baby Shit Green
#889717
ΔE00 5.97
Brown Yellow
#B29705
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9826 #262D9F
analogous
#9F5B26 #9F9826 #699F26
triadic
#9F9826 #269F98 #98269F
tetradic
#9F9826 #269F5B #262D9F #9F2669
square
#9F9826 #269F5B #262D9F #9F2669
split-complementary
#9F9826 #26699F #5B269F
monochromatic
#3C3A0E #6E691A #9F9826 #CEC534 #DAD365
Accessibility & contrast
On white
3.00
#9F9826 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#9F9826 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9826
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9826 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9826 | 1.00 | 3.00 | 6.99 | 6.99 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6920D
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#AB8D82
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9f9826; /* rgb */ color: rgb(159, 152, 38); /* oklch */ color: oklch(66.6% 0.129 105.8);
Tailwind
colors: {
custom: {
50: '#bfb66a',
500: '#9f9826',
950: '#000000',
},
}SCSS
$custom: #9f9826; $custom-light: #bfb66a; $custom-dark: #000000;
JSON
{
"hex": "#9f9826",
"rgb": {
"r": 159,
"g": 152,
"b": 38
},
"hsl": {
"h": 56.529,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.66559,
"c": 0.12915,
"h": 105.8
},
"luminance": 0.29967
}Semantic roles & 50–950 ramp
primary
#9F9826
secondary
#6166C0
accent
#4DE543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A