#9F9926#9F9926
#9F9926 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.130 H 106.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9926 |
|---|---|
| RGB | rgb(159, 153, 38) |
| HSL | hsl(57, 61%, 39%) |
| HSV | hsv(57, 76%, 62%) |
| CMYK | cmyk(0%, 3.8%, 76.1%, 37.6%) |
| CIE-LAB | lab(61.91, -11.07, 56.93) |
| CIE-LCH | lch(61.91, 58.00, 101.00°) |
| OKLab | oklab(66.78% -0.0366 0.1248) |
| OKLCH | oklch(66.78% 0.13 106.4) |
| XYZ | xyz(26.0402, 30.2943, 6.3091) |
| Luminance | 0.3029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.78
Vomit
#A2A415
ΔE00 4.01
Baby Poop Green
#8F9805
ΔE00 4.26
Puke
#A5A502
ΔE00 4.53
Baby Shit Green
#889717
ΔE00 5.78
Brown Yellow
#B29705
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9926 #262C9F
analogous
#9F5C26 #9F9926 #689F26
triadic
#9F9926 #269F99 #99269F
tetradic
#9F9926 #269F5C #262C9F #9F2668
square
#9F9926 #269F5C #262C9F #9F2668
split-complementary
#9F9926 #26689F #5C269F
monochromatic
#3C3A0E #6E691A #9F9926 #CEC734 #DAD465
Accessibility & contrast
On white
2.98
#9F9926 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#9F9926 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9926
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9926 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9926 | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7930C
Deuteranopia (green-blind)
#A9982F
Tritanopia (blue-blind)
#AB8E83
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9f9926; /* rgb */ color: rgb(159, 153, 38); /* oklch */ color: oklch(66.8% 0.130 106.4);
Tailwind
colors: {
custom: {
50: '#bfb66a',
500: '#9f9926',
950: '#000000',
},
}SCSS
$custom: #9f9926; $custom-light: #bfb66a; $custom-dark: #000000;
JSON
{
"hex": "#9f9926",
"rgb": {
"r": 159,
"g": 153,
"b": 38
},
"hsl": {
"h": 57.025,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.66782,
"c": 0.1301,
"h": 106.4
},
"luminance": 0.30293
}Semantic roles & 50–950 ramp
primary
#9F9926
secondary
#6166C0
accent
#4BE543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A