Skip to content

#999922

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

RGB
153, 153, 34
HSL
60°, 64%, 37%
CMYK
0, 0, 78, 40
Luminance
0.2967

Every format

HEX#999922
RGBrgb(153, 153, 34)
HSLhsl(60, 64%, 37%)
CMYKcmyk(0%, 0%, 78%, 40%)
LABlab(61.4 -13.9 57.6)
LCHlch(61.4 59.2 103.6)
OKLCHoklch(0.662 0.133 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#999922 on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#999922 on black: 6.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.0%
Green60.0%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow77.8%
Key (black)40.0%

Color previews

#999922 text on a black background

contrast 6.93:1

Card sample

#999922 text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(153, 153, 34, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(153, 153, 34, 0.45);
Border & gradient
Gradient panel
border: 3px solid #999922;
background: linear-gradient(135deg, #999922, #4A9922);

Monochromatic scale

Palettes built from #999922

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #999922 in the Color Lab