#21B438#21B438

#21B438 is a light, highly saturated green. Relative luminance 0.333; OKLCH L 67.3% C 0.202 H 144.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#21B438
RGBrgb(33, 180, 56)
HSLhsl(129, 69%, 42%)
HSVhsv(129, 82%, 71%)
CMYKcmyk(81.7%, 0%, 68.9%, 29.4%)
CIE-LABlab(64.36, -61.07, 50.71)
CIE-LCHlch(64.36, 79.38, 140.30°)
OKLaboklab(67.27% -0.1648 0.1165)
OKLCHoklch(67.27% 0.202 144.7)
XYZxyz(17.6610, 33.2492, 9.2276)
Luminance0.3325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B438 #B4219D
analogous
#54B421 #21B438 #21B482
triadic
#21B438 #3821B4 #B43821
tetradic
#21B438 #2154B4 #B4219D #B48221
square
#21B438 #2154B4 #B4219D #B48221
split-complementary
#21B438 #8221B4 #B42154
monochromatic
#0E4D18 #188028 #21B438 #38DA51 #6BE47E

Accessibility & contrast

On white

2.75
#21B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#21B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B438
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B438#FFFFFF#000000##000000
##21B4381.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A326
Deuteranopia (green-blind)
#A89844
Tritanopia (blue-blind)
#00AF9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #21b438;
/* rgb */ color: rgb(33, 180, 56);
/* oklch */ color: oklch(67.3% 0.202 144.7);
Tailwind
colors: {
  custom: {
    50: '#78cc75',
    500: '#21b438',
    950: '#000000',
  },
}
SCSS
$custom: #21b438;
$custom-light: #78cc75;
$custom-dark: #000000;
JSON
{
  "hex": "#21b438",
  "rgb": {
    "r": 33,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 129.388,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67271,
    "c": 0.20182,
    "h": 144.7
  },
  "luminance": 0.33251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21B438

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

Preview Lab → · Contrast checker → · Palette generator →

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