#21B231#21B231

#21B231 is a light, highly saturated green. Relative luminance 0.324; OKLCH L 66.7% C 0.204 H 144.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#21B231
RGBrgb(33, 178, 49)
HSLhsl(127, 69%, 41%)
HSVhsv(127, 81%, 70%)
CMYKcmyk(81.5%, 0%, 72.5%, 30.2%)
CIE-LABlab(63.66, -61.09, 52.70)
CIE-LCHlch(63.66, 80.68, 139.22°)
OKLaboklab(66.67% -0.1651 0.1198)
OKLCHoklch(66.67% 0.204 144)
XYZxyz(17.1008, 32.3838, 8.2546)
Luminance0.3239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B231 #B221A2
analogous
#5AB221 #21B231 #21B27A
triadic
#21B231 #3121B2 #B23121
tetradic
#21B231 #215AB2 #B221A2 #B27A21
square
#21B231 #215AB2 #B221A2 #B27A21
split-complementary
#21B231 #7A21B2 #B2215A
monochromatic
#0E4B15 #177E23 #21B231 #36DA48 #6AE377

Accessibility & contrast

On white

2.81
#21B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#21B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B231
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B231#FFFFFF#000000##000000
##21B2311.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11B
Deuteranopia (green-blind)
#A6963E
Tritanopia (blue-blind)
#00AD99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #21b231;
/* rgb */ color: rgb(33, 178, 49);
/* oklch */ color: oklch(66.7% 0.204 144.0);
Tailwind
colors: {
  custom: {
    50: '#78ca71',
    500: '#21b231',
    950: '#000000',
  },
}
SCSS
$custom: #21b231;
$custom-light: #78ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#21b231",
  "rgb": {
    "r": 33,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 126.621,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6667,
    "c": 0.20403,
    "h": 144
  },
  "luminance": 0.32386
}

Semantic roles & 50–950 ramp

primary
#21B231
secondary
#C966BE
accent
#3CD8EC
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #21B231

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

Preview Lab → · Contrast checker → · Palette generator →

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