#21B238#21B238

#21B238 is a light, vivid green. Relative luminance 0.325; OKLCH L 66.7% C 0.200 H 144.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#21B238
RGBrgb(33, 178, 56)
HSLhsl(130, 69%, 41%)
HSVhsv(130, 81%, 70%)
CMYKcmyk(81.5%, 0%, 68.5%, 30.2%)
CIE-LABlab(63.71, -60.44, 50.01)
CIE-LCHlch(63.71, 78.45, 140.39°)
OKLaboklab(66.73% -0.1631 0.1151)
OKLCHoklch(66.73% 0.2 144.8)
XYZxyz(17.2602, 32.4475, 9.0939)
Luminance0.3245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B238 #B2219B
analogous
#53B221 #21B238 #21B281
triadic
#21B238 #3821B2 #B23821
tetradic
#21B238 #2153B2 #B2219B #B28121
square
#21B238 #2153B2 #B2219B #B28121
split-complementary
#21B238 #8121B2 #B22153
monochromatic
#0E4B18 #177E28 #21B238 #36DA50 #6AE37D

Accessibility & contrast

On white

2.80
#21B238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#21B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B238
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B238#FFFFFF#000000##000000
##21B2381.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21b238;
/* rgb */ color: rgb(33, 178, 56);
/* oklch */ color: oklch(66.7% 0.200 144.8);
Tailwind
colors: {
  custom: {
    50: '#78ca75',
    500: '#21b238',
    950: '#000000',
  },
}
SCSS
$custom: #21b238;
$custom-light: #78ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#21b238",
  "rgb": {
    "r": 33,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 129.517,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6673,
    "c": 0.19957,
    "h": 144.8
  },
  "luminance": 0.3245
}

Semantic roles & 50–950 ramp

primary
#21B238
secondary
#C966B9
accent
#3CD0EC
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #21B238

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

Preview Lab → · Contrast checker → · Palette generator →

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