#9BA125#9BA125
#9BA125 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.140 H 112.4°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA125 |
|---|---|
| RGB | rgb(155, 161, 37) |
| HSL | hsl(63, 63%, 39%) |
| HSV | hsv(63, 77%, 63%) |
| CMYK | cmyk(3.7%, 0%, 77%, 36.9%) |
| CIE-LAB | lab(63.83, -17.05, 58.92) |
| CIE-LCH | lch(63.83, 61.33, 106.14°) |
| OKLab | oklab(68.23% -0.0532 0.129) |
| OKLCH | oklch(68.23% 0.14 112.4) |
| XYZ | xyz(26.5972, 32.5925, 6.6398) |
| Luminance | 0.3259 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.24
Pea Soup Green
#94A617
ΔE00 2.95
Pea Soup
#929901
ΔE00 2.97
Baby Poop Green
#8F9805
ΔE00 3.31
Puke
#A5A502
ΔE00 3.35
Vomit Green
#89A203
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA125 #2B25A1
analogous
#A16925 #9BA125 #5DA125
triadic
#9BA125 #259BA1 #A1259B
tetradic
#9BA125 #25A169 #2B25A1 #A1255D
square
#9BA125 #25A169 #2B25A1 #A1255D
split-complementary
#9BA125 #255DA1 #6925A1
monochromatic
#3B3D0E #6B6F1A #9BA125 #C9D033 #D6DC65
Accessibility & contrast
On white
2.79
#9BA125 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#9BA125 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA125
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA125 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA125 | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9903
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#A6978A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ba125; /* rgb */ color: rgb(155, 161, 37); /* oklch */ color: oklch(68.2% 0.140 112.4);
Tailwind
colors: {
custom: {
50: '#bcbc6a',
500: '#9ba125',
950: '#000000',
},
}SCSS
$custom: #9ba125; $custom-light: #bcbc6a; $custom-dark: #000000;
JSON
{
"hex": "#9ba125",
"rgb": {
"r": 155,
"g": 161,
"b": 37
},
"hsl": {
"h": 62.903,
"s": 62.626,
"l": 38.824
},
"oklch": {
"l": 0.68234,
"c": 0.13955,
"h": 112.4
},
"luminance": 0.32592
}Semantic roles & 50–950 ramp
primary
#9BA125
secondary
#6561C1
accent
#42E64A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A