#21803F#21803F

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

Color values

HEX#21803F
RGBrgb(33, 128, 63)
HSLhsl(139, 59%, 32%)
HSVhsv(139, 74%, 50%)
CMYKcmyk(74.2%, 0%, 50.8%, 49.8%)
CIE-LABlab(47.13, -42.19, 27.50)
CIE-LCHlch(47.13, 50.36, 146.90°)
OKLaboklab(53% -0.1135 0.0669)
OKLCHoklch(53% 0.132 149.5)
XYZxyz(9.2428, 16.1195, 7.3259)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21803F #802162
analogous
#338021 #21803F #21806F
triadic
#21803F #3F2180 #803F21
tetradic
#21803F #213380 #802162 #806F21
square
#21803F #213380 #802162 #806F21
split-complementary
#21803F #6F2180 #802133
monochromatic
#081F0F #144F27 #21803F #2EB157 #4BD175

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21803F#FFFFFF#000000##FFFFFF
##21803F1.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)
#81753A
Deuteranopia (green-blind)
#766D44
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21803f;
/* rgb */ color: rgb(33, 128, 63);
/* oklch */ color: oklch(53.0% 0.132 149.5);
Tailwind
colors: {
  custom: {
    50: '#6ba675',
    500: '#21803f',
    950: '#000000',
  },
}
SCSS
$custom: #21803f;
$custom-light: #6ba675;
$custom-dark: #000000;
JSON
{
  "hex": "#21803f",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 63
  },
  "hsl": {
    "h": 138.947,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53003,
    "c": 0.13175,
    "h": 149.5
  },
  "luminance": 0.16121
}

Semantic roles & 50–950 ramp

primary
#21803F
secondary
#B34A92
accent
#46B1E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #21803F

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

Preview Lab → · Contrast checker → · Palette generator →

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