#9BA428#9BA428
#9BA428 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.141 H 113.8°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA428 |
|---|---|
| RGB | rgb(155, 164, 40) |
| HSL | hsl(64, 61%, 40%) |
| HSV | hsv(64, 76%, 64%) |
| CMYK | cmyk(5.5%, 0%, 75.6%, 35.7%) |
| CIE-LAB | lab(64.70, -18.45, 58.74) |
| CIE-LCH | lch(64.70, 61.57, 107.44°) |
| OKLab | oklab(68.94% -0.0568 0.1292) |
| OKLCH | oklch(68.94% 0.141 113.8) |
| XYZ | xyz(27.1769, 33.6732, 7.0750) |
| Luminance | 0.3367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.19
Vomit
#A2A415
ΔE00 2.58
Puke
#A5A502
ΔE00 3.66
Pea Soup
#929901
ΔE00 3.77
Puke Green
#9AAE07
ΔE00 3.85
Barf Green
#94AC02
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA428 #3128A4
analogous
#A46F28 #9BA428 #5DA428
triadic
#9BA428 #289BA4 #A4289B
tetradic
#9BA428 #28A46F #3128A4 #A4285D
square
#9BA428 #28A46F #3128A4 #A4285D
split-complementary
#9BA428 #285DA4 #6F28A4
monochromatic
#3E4210 #6C731C #9BA428 #C4CF3A #D3DB6B
Accessibility & contrast
On white
2.72
#9BA428 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#9BA428 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA428
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA428 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA428 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C0A
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#A69A8D
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9ba428; /* rgb */ color: rgb(155, 164, 40); /* oklch */ color: oklch(68.9% 0.141 113.8);
Tailwind
colors: {
custom: {
50: '#bcbe6c',
500: '#9ba428',
950: '#000000',
},
}SCSS
$custom: #9ba428; $custom-light: #bcbe6c; $custom-dark: #000000;
JSON
{
"hex": "#9ba428",
"rgb": {
"r": 155,
"g": 164,
"b": 40
},
"hsl": {
"h": 64.355,
"s": 60.784,
"l": 40
},
"oklch": {
"l": 0.68939,
"c": 0.14114,
"h": 113.8
},
"luminance": 0.33673
}Semantic roles & 50–950 ramp
primary
#9BA428
secondary
#6D66C1
accent
#44E450
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A