#21B246#21B246

#21B246 is a light, vivid green. Relative luminance 0.326; OKLCH L 66.9% C 0.189 H 146.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#21B246
RGBrgb(33, 178, 70)
HSLhsl(135, 69%, 41%)
HSVhsv(135, 81%, 70%)
CMYKcmyk(81.5%, 0%, 60.7%, 30.2%)
CIE-LABlab(63.84, -58.87, 44.07)
CIE-LCHlch(63.84, 73.53, 143.18°)
OKLaboklab(66.88% -0.1583 0.1038)
OKLCHoklch(66.88% 0.189 146.7)
XYZxyz(17.6517, 32.6041, 11.1561)
Luminance0.3261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B246 #B2218D
analogous
#45B221 #21B246 #21B28F
triadic
#21B246 #4621B2 #B24621
tetradic
#21B246 #2145B2 #B2218D #B28F21
square
#21B246 #2145B2 #B2218D #B28F21
split-complementary
#21B246 #8F21B2 #B22145
monochromatic
#0E4B1D #177E32 #21B246 #36DA60 #6AE389

Accessibility & contrast

On white

2.79
#21B246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#21B246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B246
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B246#FFFFFF#000000##000000
##21B2461.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13A
Deuteranopia (green-blind)
#A5964F
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #21b246;
/* rgb */ color: rgb(33, 178, 70);
/* oklch */ color: oklch(66.9% 0.189 146.7);
Tailwind
colors: {
  custom: {
    50: '#77ca7d',
    500: '#21b246',
    950: '#000000',
  },
}
SCSS
$custom: #21b246;
$custom-light: #77ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#21b246",
  "rgb": {
    "r": 33,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 135.31,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66878,
    "c": 0.18929,
    "h": 146.7
  },
  "luminance": 0.32606
}

Semantic roles & 50–950 ramp

primary
#21B246
secondary
#C966B0
accent
#3CBFEC
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21B246

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

Preview Lab → · Contrast checker → · Palette generator →

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