#99B221#99B221

#99B221 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 72.0% C 0.161 H 119.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#99B221
RGBrgb(153, 178, 33)
HSLhsl(70, 69%, 41%)
HSVhsv(70, 81%, 70%)
CMYKcmyk(14%, 0%, 81.5%, 30.2%)
CIE-LABlab(68.55, -26.55, 64.28)
CIE-LCHlch(68.55, 69.55, 112.44°)
OKLaboklab(71.98% -0.0796 0.1398)
OKLCHoklch(71.98% 0.161 119.7)
XYZxyz(29.3324, 38.7231, 7.3676)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99B221 #3A21B2
analogous
#B28321 #99B221 #51B221
triadic
#99B221 #2199B2 #B22199
tetradic
#99B221 #21B283 #3A21B2 #B22151
square
#99B221 #21B283 #3A21B2 #B22151
split-complementary
#99B221 #2151B2 #8321B2
monochromatic
#404B0E #6D7E17 #99B221 #BEDA36 #CEE36A

Accessibility & contrast

On white

2.40
#99B221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#99B221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #99B221
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99B221#FFFFFF#000000##000000
##99B2211.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BBA830
Tritanopia (blue-blind)
#A2A898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #99b221;
/* rgb */ color: rgb(153, 178, 33);
/* oklch */ color: oklch(72.0% 0.161 119.7);
Tailwind
colors: {
  custom: {
    50: '#bbc96b',
    500: '#99b221',
    950: '#000000',
  },
}
SCSS
$custom: #99b221;
$custom-light: #bbc96b;
$custom-dark: #000000;
JSON
{
  "hex": "#99b221",
  "rgb": {
    "r": 153,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 70.345,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71984,
    "c": 0.16088,
    "h": 119.7
  },
  "luminance": 0.38723
}

Semantic roles & 50–950 ramp

primary
#99B221
secondary
#7766C9
accent
#3CEC5A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #99B221

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#99B221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva