#21983B#21983B

#21983B is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.6% C 0.167 H 146.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#21983B
RGBrgb(33, 152, 59)
HSLhsl(133, 64%, 36%)
HSVhsv(133, 78%, 60%)
CMYKcmyk(78.3%, 0%, 61.2%, 40.4%)
CIE-LABlab(55.17, -51.52, 39.19)
CIE-LCHlch(55.17, 64.73, 142.74°)
OKLaboklab(59.64% -0.1387 0.0924)
OKLCHoklch(59.64% 0.167 146.3)
XYZxyz(12.6439, 23.0941, 7.9281)
Luminance0.2310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21983B #98217E
analogous
#439821 #21983B #219877
triadic
#21983B #3B2198 #983B21
tetradic
#21983B #214398 #98217E #987721
square
#21983B #214398 #98217E #987721
split-complementary
#21983B #772198 #982143
monochromatic
#0B3314 #166627 #21983B #2CCA4F #59DB75

Accessibility & contrast

On white

3.74
#21983B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#21983B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21983B
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21983B#FFFFFF#000000##000000
##21983B1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A31
Deuteranopia (green-blind)
#8D8043
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #21983b;
/* rgb */ color: rgb(33, 152, 59);
/* oklch */ color: oklch(59.6% 0.167 146.3);
Tailwind
colors: {
  custom: {
    50: '#71b774',
    500: '#21983b',
    950: '#000000',
  },
}
SCSS
$custom: #21983b;
$custom-light: #71b774;
$custom-dark: #000000;
JSON
{
  "hex": "#21983b",
  "rgb": {
    "r": 33,
    "g": 152,
    "b": 59
  },
  "hsl": {
    "h": 133.109,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59644,
    "c": 0.16666,
    "h": 146.3
  },
  "luminance": 0.23096
}

Semantic roles & 50–950 ramp

primary
#21983B
secondary
#BF56A8
accent
#40C3E7
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #21983B

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

Preview Lab → · Contrast checker → · Palette generator →

#21983B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva