#21803C#21803C

#21803C is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.135 H 148.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#21803C
RGBrgb(33, 128, 60)
HSLhsl(137, 59%, 32%)
HSVhsv(137, 74%, 50%)
CMYKcmyk(74.2%, 0%, 53.1%, 49.8%)
CIE-LABlab(47.09, -42.68, 29.05)
CIE-LCHlch(47.09, 51.63, 145.76°)
OKLaboklab(52.95% -0.1149 0.0702)
OKLCHoklch(52.95% 0.135 148.6)
XYZxyz(9.1613, 16.0869, 6.8964)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21803C #802165
analogous
#368021 #21803C #21806C
triadic
#21803C #3C2180 #803C21
tetradic
#21803C #213680 #802165 #806C21
square
#21803C #213680 #802165 #806C21
split-complementary
#21803C #6C2180 #802136
monochromatic
#081F0E #144F25 #21803C #2EB153 #4BD171

Accessibility & contrast

On white

4.98
#21803C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#21803C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21803C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21803C#FFFFFF#000000##FFFFFF
##21803C1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817436
Deuteranopia (green-blind)
#766D41
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21803c;
/* rgb */ color: rgb(33, 128, 60);
/* oklch */ color: oklch(53.0% 0.135 148.6);
Tailwind
colors: {
  custom: {
    50: '#6ba673',
    500: '#21803c',
    950: '#000000',
  },
}
SCSS
$custom: #21803c;
$custom-light: #6ba673;
$custom-dark: #000000;
JSON
{
  "hex": "#21803c",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 60
  },
  "hsl": {
    "h": 137.053,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.13463,
    "h": 148.6
  },
  "luminance": 0.16088
}

Semantic roles & 50–950 ramp

primary
#21803C
secondary
#B34A95
accent
#46B6E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #21803C

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

Preview Lab → · Contrast checker → · Palette generator →

#21803C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva