#9BA323#9BA323
#9BA323 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.143 H 113.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA323 |
|---|---|
| RGB | rgb(155, 163, 35) |
| HSL | hsl(64, 65%, 39%) |
| HSV | hsv(64, 79%, 64%) |
| CMYK | cmyk(4.9%, 0%, 78.5%, 36.1%) |
| CIE-LAB | lab(64.39, -18.16, 60.06) |
| CIE-LCH | lch(64.39, 62.74, 106.82°) |
| OKLab | oklab(68.68% -0.0564 0.1311) |
| OKLCH | oklch(68.68% 0.143 113.3) |
| XYZ | xyz(26.9190, 33.2849, 6.5964) |
| Luminance | 0.3328 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.17
Pea Soup Green
#94A617
ΔE00 2.34
Puke
#A5A502
ΔE00 3.27
Pea Soup
#929901
ΔE00 3.34
Baby Poop Green
#8F9805
ΔE00 3.67
Puke Green
#9AAE07
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA323 #2B23A3
analogous
#A36B23 #9BA323 #5BA323
triadic
#9BA323 #239BA3 #A3239B
tetradic
#9BA323 #23A36B #2B23A3 #A3235B
square
#9BA323 #23A36B #2B23A3 #A3235B
split-complementary
#9BA323 #235BA3 #6B23A3
monochromatic
#3B3E0D #6B7118 #9BA323 #C9D331 #D6DD63
Accessibility & contrast
On white
2.74
#9BA323 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#9BA323 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA323
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA323 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA323 | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B09D2F
Tritanopia (blue-blind)
#A6998B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ba323; /* rgb */ color: rgb(155, 163, 35); /* oklch */ color: oklch(68.7% 0.143 113.3);
Tailwind
colors: {
custom: {
50: '#bcbe6a',
500: '#9ba323',
950: '#000000',
},
}SCSS
$custom: #9ba323; $custom-light: #bcbe6a; $custom-dark: #000000;
JSON
{
"hex": "#9ba323",
"rgb": {
"r": 155,
"g": 163,
"b": 35
},
"hsl": {
"h": 63.75,
"s": 64.646,
"l": 38.824
},
"oklch": {
"l": 0.68681,
"c": 0.14271,
"h": 113.3
},
"luminance": 0.33284
}Semantic roles & 50–950 ramp
primary
#9BA323
secondary
#655FC3
accent
#40E84B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A