#9BA42E#9BA42E
#9BA42E is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.0% C 0.138 H 113.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA42E |
|---|---|
| RGB | rgb(155, 164, 46) |
| HSL | hsl(65, 56%, 41%) |
| HSV | hsv(65, 72%, 64%) |
| CMYK | cmyk(5.5%, 0%, 72%, 35.7%) |
| CIE-LAB | lab(64.74, -18.16, 56.66) |
| CIE-LCH | lch(64.74, 59.50, 107.77°) |
| OKLab | oklab(68.98% -0.0555 0.1259) |
| OKLCH | oklch(68.98% 0.138 113.8) |
| XYZ | xyz(27.2870, 33.7173, 7.6549) |
| Luminance | 0.3372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.47
Vomit
#A2A415
ΔE00 3.03
Pea Soup
#929901
ΔE00 4.06
Vomit Green
#89A203
ΔE00 4.11
Puke
#A5A502
ΔE00 4.12
Puke Green
#9AAE07
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA42E #372EA4
analogous
#A4722E #9BA42E #60A42E
triadic
#9BA42E #2E9BA4 #A42E9B
tetradic
#9BA42E #2EA472 #372EA4 #A42E60
square
#9BA42E #2EA472 #372EA4 #A42E60
split-complementary
#9BA42E #2E60A4 #722EA4
monochromatic
#414413 #6E7421 #9BA42E #C0CB45 #D0D874
Accessibility & contrast
On white
2.71
#9BA42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#9BA42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA42E
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA42E | 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)
#B09C19
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#A59A8D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9ba42e; /* rgb */ color: rgb(155, 164, 46); /* oklch */ color: oklch(69.0% 0.138 113.8);
Tailwind
colors: {
custom: {
50: '#bcbe6f',
500: '#9ba42e',
950: '#000000',
},
}SCSS
$custom: #9ba42e; $custom-light: #bcbe6f; $custom-dark: #000000;
JSON
{
"hex": "#9ba42e",
"rgb": {
"r": 155,
"g": 164,
"b": 46
},
"hsl": {
"h": 64.576,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.68978,
"c": 0.13755,
"h": 113.8
},
"luminance": 0.33717
}Semantic roles & 50–950 ramp
primary
#9BA42E
secondary
#746EC0
accent
#48DF54
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B