#9FA326#9FA326
#9FA326 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.0% C 0.140 H 111.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA326 |
|---|---|
| RGB | rgb(159, 163, 38) |
| HSL | hsl(62, 62%, 39%) |
| HSV | hsv(62, 77%, 64%) |
| CMYK | cmyk(2.5%, 0%, 76.7%, 36.1%) |
| CIE-LAB | lab(64.73, -16.28, 59.54) |
| CIE-LCH | lch(64.73, 61.72, 105.30°) |
| OKLab | oklab(69.04% -0.0512 0.1304) |
| OKLCH | oklch(69.04% 0.14 111.4) |
| XYZ | xyz(27.7461, 33.7060, 6.8777) |
| Luminance | 0.3371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.55
Puke
#A5A502
ΔE00 2.67
Pea Soup Green
#94A617
ΔE00 3.29
Pea Soup
#929901
ΔE00 3.62
Baby Poop Green
#8F9805
ΔE00 4.07
Puke Green
#9AAE07
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA326 #2A26A3
analogous
#A36926 #9FA326 #61A326
triadic
#9FA326 #269FA3 #A3269F
tetradic
#9FA326 #26A369 #2A26A3 #A32661
square
#9FA326 #26A369 #2A26A3 #A32661
split-complementary
#9FA326 #2661A3 #6926A3
monochromatic
#3E400F #6F711A #9FA326 #CBD036 #D8DC68
Accessibility & contrast
On white
2.71
#9FA326 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#9FA326 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA326
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA326 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#AA998C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9fa326; /* rgb */ color: rgb(159, 163, 38); /* oklch */ color: oklch(69.0% 0.140 111.4);
Tailwind
colors: {
custom: {
50: '#bfbe6b',
500: '#9fa326',
950: '#000000',
},
}SCSS
$custom: #9fa326; $custom-light: #bfbe6b; $custom-dark: #000000;
JSON
{
"hex": "#9fa326",
"rgb": {
"r": 159,
"g": 163,
"b": 38
},
"hsl": {
"h": 61.92,
"s": 62.189,
"l": 39.412
},
"oklch": {
"l": 0.69035,
"c": 0.14006,
"h": 111.4
},
"luminance": 0.33705
}Semantic roles & 50–950 ramp
primary
#9FA326
secondary
#6663C2
accent
#43E548
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A