#9BAF26#9BAF26
#9BAF26 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.5% C 0.154 H 118.0°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAF26 |
|---|---|
| RGB | rgb(155, 175, 38) |
| HSL | hsl(69, 64%, 42%) |
| HSV | hsv(69, 78%, 69%) |
| CMYK | cmyk(11.4%, 0%, 78.3%, 31.4%) |
| CIE-LAB | lab(67.85, -24.05, 62.27) |
| CIE-LCH | lch(67.85, 66.76, 111.12°) |
| OKLab | oklab(71.46% -0.0725 0.1363) |
| OKLCH | oklch(71.46% 0.154 118) |
| XYZ | xyz(29.1981, 37.7687, 7.5853) |
| Luminance | 0.3777 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.62
Barf Green
#94AC02
ΔE00 1.89
Sickly Green
#94B21C
ΔE00 2.02
Icky Green
#8FAE22
ΔE00 2.47
Pea Green
#8EAB12
ΔE00 2.48
Booger Green
#96B403
ΔE00 2.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAF26 #3A26AF
analogous
#AF7F26 #9BAF26 #57AF26
triadic
#9BAF26 #269BAF #AF269B
tetradic
#9BAF26 #26AF7F #3A26AF #AF2657
square
#9BAF26 #26AF7F #3A26AF #AF2657
split-complementary
#9BAF26 #2657AF #7F26AF
monochromatic
#424A10 #6E7D1B #9BAF26 #BFD53D #CFE070
Accessibility & contrast
On white
2.46
#9BAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.55
#9BAF26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAF26
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAF26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAF26 | 1.00 | 2.46 | 8.55 | 8.55 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#A5A596
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #9baf26; /* rgb */ color: rgb(155, 175, 38); /* oklch */ color: oklch(71.5% 0.154 118.0);
Tailwind
colors: {
custom: {
50: '#bcc66d',
500: '#9baf26',
950: '#000000',
},
}SCSS
$custom: #9baf26; $custom-light: #bcc66d; $custom-dark: #000000;
JSON
{
"hex": "#9baf26",
"rgb": {
"r": 155,
"g": 175,
"b": 38
},
"hsl": {
"h": 68.759,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.71463,
"c": 0.15439,
"h": 118
},
"luminance": 0.37768
}Semantic roles & 50–950 ramp
primary
#9BAF26
secondary
#786AC7
accent
#40E759
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B