#21B345#21B345

#21B345 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.1% C 0.191 H 146.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#21B345
RGBrgb(33, 179, 69)
HSLhsl(135, 69%, 42%)
HSVhsv(135, 82%, 70%)
CMYKcmyk(81.6%, 0%, 61.5%, 29.8%)
CIE-LABlab(64.15, -59.32, 44.88)
CIE-LCHlch(64.15, 74.39, 142.89°)
OKLaboklab(67.14% -0.1595 0.1055)
OKLCHoklch(67.14% 0.191 146.5)
XYZxyz(17.8201, 32.9910, 11.0578)
Luminance0.3299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B345 #B3218F
analogous
#46B321 #21B345 #21B38E
triadic
#21B345 #4521B3 #B34521
tetradic
#21B345 #2146B3 #B3218F #B38E21
square
#21B345 #2146B3 #B3218F #B38E21
split-complementary
#21B345 #8E21B3 #B32146
monochromatic
#0E4C1D #177F31 #21B345 #37DA5F #6BE489

Accessibility & contrast

On white

2.76
#21B345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#21B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B345
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B345#FFFFFF#000000##000000
##21B3451.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A239
Deuteranopia (green-blind)
#A6974E
Tritanopia (blue-blind)
#00AF9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #21b345;
/* rgb */ color: rgb(33, 179, 69);
/* oklch */ color: oklch(67.1% 0.191 146.5);
Tailwind
colors: {
  custom: {
    50: '#77cb7c',
    500: '#21b345',
    950: '#000000',
  },
}
SCSS
$custom: #21b345;
$custom-light: #77cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#21b345",
  "rgb": {
    "r": 33,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 134.795,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67136,
    "c": 0.19127,
    "h": 146.5
  },
  "luminance": 0.32993
}

Semantic roles & 50–950 ramp

primary
#21B345
secondary
#CA66B1
accent
#3CC0EC
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21B345

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

Preview Lab → · Contrast checker → · Palette generator →

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