#21B431#21B431

#21B431 is a light, highly saturated green. Relative luminance 0.332; OKLCH L 67.2% C 0.206 H 144.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#21B431
RGBrgb(33, 180, 49)
HSLhsl(127, 69%, 42%)
HSVhsv(127, 82%, 71%)
CMYKcmyk(81.7%, 0%, 72.8%, 29.4%)
CIE-LABlab(64.31, -61.71, 53.37)
CIE-LCHlch(64.31, 81.59, 139.15°)
OKLaboklab(67.21% -0.1668 0.1212)
OKLCHoklch(67.21% 0.206 144)
XYZxyz(17.5016, 33.1855, 8.3882)
Luminance0.3319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B431 #B421A4
analogous
#5AB421 #21B431 #21B47B
triadic
#21B431 #3121B4 #B43121
tetradic
#21B431 #215AB4 #B421A4 #B47B21
square
#21B431 #215AB4 #B421A4 #B47B21
split-complementary
#21B431 #7B21B4 #B4215A
monochromatic
#0E4D15 #188023 #21B431 #38DA49 #6BE479

Accessibility & contrast

On white

2.75
#21B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#21B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B431
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B431#FFFFFF#000000##000000
##21B4311.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A21A
Deuteranopia (green-blind)
#A8983F
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #21b431;
/* rgb */ color: rgb(33, 180, 49);
/* oklch */ color: oklch(67.2% 0.206 144.0);
Tailwind
colors: {
  custom: {
    50: '#79cc71',
    500: '#21b431',
    950: '#000000',
  },
}
SCSS
$custom: #21b431;
$custom-light: #79cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#21b431",
  "rgb": {
    "r": 33,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 126.531,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67212,
    "c": 0.20622,
    "h": 144
  },
  "luminance": 0.33188
}

Semantic roles & 50–950 ramp

primary
#21B431
secondary
#CA67BF
accent
#3CD9EC
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #21B431

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

Preview Lab → · Contrast checker → · Palette generator →

#21B431 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva