#21A233#21A233

#21A233 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.3% C 0.185 H 144.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#21A233
RGBrgb(33, 162, 51)
HSLhsl(128, 66%, 38%)
HSVhsv(128, 80%, 64%)
CMYKcmyk(79.6%, 0%, 68.5%, 36.5%)
CIE-LABlab(58.42, -55.80, 46.39)
CIE-LCHlch(58.42, 72.56, 140.26°)
OKLaboklab(62.32% -0.1506 0.1069)
OKLCHoklch(62.32% 0.185 144.7)
XYZxyz(14.1441, 26.4013, 7.4819)
Luminance0.2640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A233 #A22190
analogous
#4FA221 #21A233 #21A273
triadic
#21A233 #3321A2 #A23321
tetradic
#21A233 #214FA2 #A22190 #A27321
square
#21A233 #214FA2 #A22190 #A27321
split-complementary
#21A233 #7321A2 #A2214F
monochromatic
#0C3C13 #176F23 #21A233 #2CD444 #5FDE71

Accessibility & contrast

On white

3.34
#21A233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#21A233 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A233
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A233#FFFFFF#000000##000000
##21A2331.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59224
Deuteranopia (green-blind)
#97893D
Tritanopia (blue-blind)
#009E8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a233;
/* rgb */ color: rgb(33, 162, 51);
/* oklch */ color: oklch(62.3% 0.185 144.7);
Tailwind
colors: {
  custom: {
    50: '#74bf70',
    500: '#21a233',
    950: '#000000',
  },
}
SCSS
$custom: #21a233;
$custom-light: #74bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#21a233",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 128.372,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62316,
    "c": 0.1847,
    "h": 144.7
  },
  "luminance": 0.26403
}

Semantic roles & 50–950 ramp

primary
#21A233
secondary
#C35CB5
accent
#3FD1E9
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A233

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

Preview Lab → · Contrast checker → · Palette generator →

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