#21B028#21B028

#21B028 is a light, highly saturated green. Relative luminance 0.315; OKLCH L 66.1% C 0.207 H 143.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#21B028
RGBrgb(33, 176, 40)
HSLhsl(123, 68%, 41%)
HSVhsv(123, 81%, 69%)
CMYKcmyk(81.3%, 0%, 77.3%, 31%)
CIE-LABlab(62.95, -61.18, 55.16)
CIE-LCHlch(62.95, 82.38, 137.96°)
OKLaboklab(66.06% -0.1658 0.1238)
OKLCHoklch(66.06% 0.207 143.2)
XYZxyz(16.5345, 31.5252, 7.2206)
Luminance0.3153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B028 #B021A9
analogous
#61B021 #21B028 #21B06F
triadic
#21B028 #2821B0 #B02821
tetradic
#21B028 #2161B0 #B021A9 #B06F21
square
#21B028 #2161B0 #B021A9 #B06F21
split-complementary
#21B028 #6F21B0 #B02161
monochromatic
#0E4911 #177C1C #21B028 #35D93D #69E36F

Accessibility & contrast

On white

2.87
#21B028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#21B028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B028
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B028#FFFFFF#000000##000000
##21B0281.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F05
Deuteranopia (green-blind)
#A59438
Tritanopia (blue-blind)
#00AB96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #21b028;
/* rgb */ color: rgb(33, 176, 40);
/* oklch */ color: oklch(66.1% 0.207 143.2);
Tailwind
colors: {
  custom: {
    50: '#78c96c',
    500: '#21b028',
    950: '#000000',
  },
}
SCSS
$custom: #21b028;
$custom-light: #78c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#21b028",
  "rgb": {
    "r": 33,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 122.937,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66061,
    "c": 0.20689,
    "h": 143.2
  },
  "luminance": 0.31527
}

Semantic roles & 50–950 ramp

primary
#21B028
secondary
#C864C4
accent
#3DE3EB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #21B028

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

Preview Lab → · Contrast checker → · Palette generator →

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