Skip to content

#9baa13

a dark, electric yellow · cool · closest name: olive

RGB
155, 170, 19
HSL
66°, 80%, 37%
CMYK
9, 0, 89, 33
Luminance
0.3577

Every format

HEX#9baa13
RGBrgb(155, 170, 19)
HSLhsl(66, 80%, 37%)
CMYKcmyk(9%, 0%, 89%, 33%)
LABlab(66.3 -22.2 65.7)
LCHlch(66.3 69.3 108.7)
OKLCHoklch(0.702 0.156 116.0)

Copy-ready code

/* CSS */
color: #9baa13;
background-color: #9baa13;
/* Tailwind (arbitrary) */
class="text-[#9baa13] bg-[#9baa13]"
/* SCSS */
$brand: #9baa13;
/* SwiftUI */
Color(red: 0.608, green: 0.667, blue: 0.075)
/* Android */
Color.parseColor("#9baa13")

Accessibility — WCAG contrast

Aa
#9baa13 on white: 2.58:1
AA ✗ fail · AA-large · AAA
Aa
#9baa13 on black: 8.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green66.7%
Blue7.5%

CMYK percentages

Cyan8.8%
Magenta0.0%
Yellow88.8%
Key (black)33.3%

Color previews

#9baa13 text on a black background

contrast 8.15:1

Card sample

#9baa13 text on a white background

contrast 2.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9baa13;
Background color
Panel with #9baa13 background
background-color: #9baa13;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9baa13;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(155, 170, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 170, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9baa13;
background: linear-gradient(135deg, #9baa13, #36AA13);

Monochromatic scale

Palettes built from #9baa13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9baa13 in the Color Lab