#21803E#21803E

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

Color values

HEX#21803E
RGBrgb(33, 128, 62)
HSLhsl(138, 59%, 32%)
HSVhsv(138, 74%, 50%)
CMYKcmyk(74.2%, 0%, 51.6%, 49.8%)
CIE-LABlab(47.12, -42.36, 28.02)
CIE-LCHlch(47.12, 50.78, 146.51°)
OKLaboklab(52.99% -0.114 0.068)
OKLCHoklch(52.99% 0.133 149.2)
XYZxyz(9.2151, 16.1084, 7.1801)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21803E #802163
analogous
#348021 #21803E #21806E
triadic
#21803E #3E2180 #803E21
tetradic
#21803E #213480 #802163 #806E21
square
#21803E #213480 #802163 #806E21
split-complementary
#21803E #6E2180 #802134
monochromatic
#081F0F #144F26 #21803E #2EB156 #4BD174

Accessibility & contrast

On white

4.97
#21803E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21803E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21803E#FFFFFF#000000##FFFFFF
##21803E1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817439
Deuteranopia (green-blind)
#766D43
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21803e;
/* rgb */ color: rgb(33, 128, 62);
/* oklch */ color: oklch(53.0% 0.133 149.2);
Tailwind
colors: {
  custom: {
    50: '#6ba674',
    500: '#21803e',
    950: '#000000',
  },
}
SCSS
$custom: #21803e;
$custom-light: #6ba674;
$custom-dark: #000000;
JSON
{
  "hex": "#21803e",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 62
  },
  "hsl": {
    "h": 138.316,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.13272,
    "h": 149.2
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#21803E
secondary
#B34A93
accent
#46B2E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #21803E

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

Preview Lab → · Contrast checker → · Palette generator →

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