#9CA126#9CA126
#9CA126 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.139 H 111.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA126 |
|---|---|
| RGB | rgb(156, 161, 38) |
| HSL | hsl(62, 62%, 39%) |
| HSV | hsv(62, 76%, 63%) |
| CMYK | cmyk(3.1%, 0%, 76.4%, 36.9%) |
| CIE-LAB | lab(63.92, -16.57, 58.70) |
| CIE-LCH | lch(63.92, 60.99, 105.76°) |
| OKLab | oklab(68.33% -0.0518 0.1287) |
| OKLCH | oklch(68.33% 0.139 111.9) |
| XYZ | xyz(26.8059, 32.6983, 6.7327) |
| Luminance | 0.3270 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.12
Pea Soup
#929901
ΔE00 3.06
Pea Soup Green
#94A617
ΔE00 3.18
Puke
#A5A502
ΔE00 3.23
Baby Poop Green
#8F9805
ΔE00 3.43
Baby Shit Green
#889717
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA126 #2B26A1
analogous
#A16926 #9CA126 #5FA126
triadic
#9CA126 #269CA1 #A1269C
tetradic
#9CA126 #26A169 #2B26A1 #A1265F
square
#9CA126 #26A169 #2B26A1 #A1265F
split-complementary
#9CA126 #265FA1 #6926A1
monochromatic
#3C3E0F #6C6F1A #9CA126 #C9CF35 #D6DB66
Accessibility & contrast
On white
2.79
#9CA126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#9CA126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA126
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA126 | 1.00 | 2.79 | 7.54 | 7.54 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9906
Deuteranopia (green-blind)
#AE9C31
Tritanopia (blue-blind)
#A7978A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ca126; /* rgb */ color: rgb(156, 161, 38); /* oklch */ color: oklch(68.3% 0.139 111.9);
Tailwind
colors: {
custom: {
50: '#bdbc6b',
500: '#9ca126',
950: '#000000',
},
}SCSS
$custom: #9ca126; $custom-light: #bdbc6b; $custom-dark: #000000;
JSON
{
"hex": "#9ca126",
"rgb": {
"r": 156,
"g": 161,
"b": 38
},
"hsl": {
"h": 62.439,
"s": 61.809,
"l": 39.02
},
"oklch": {
"l": 0.68325,
"c": 0.13875,
"h": 111.9
},
"luminance": 0.32698
}Semantic roles & 50–950 ramp
primary
#9CA126
secondary
#6662C1
accent
#43E549
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A