#21813E#21813E

#21813E is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.134 H 149.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#21813E
RGBrgb(33, 129, 62)
HSLhsl(138, 59%, 32%)
HSVhsv(138, 74%, 51%)
CMYKcmyk(74.4%, 0%, 51.9%, 49.4%)
CIE-LABlab(47.46, -42.74, 28.44)
CIE-LCHlch(47.46, 51.34, 146.36°)
OKLaboklab(53.27% -0.115 0.0689)
OKLCHoklch(53.27% 0.134 149.1)
XYZxyz(9.3462, 16.3706, 7.2238)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21813E #812164
analogous
#348121 #21813E #21816E
triadic
#21813E #3E2181 #813E21
tetradic
#21813E #213481 #812164 #816E21
square
#21813E #213481 #812164 #816E21
split-complementary
#21813E #6E2181 #812134
monochromatic
#08200F #155027 #21813E #2DB255 #4BD174

Accessibility & contrast

On white

4.91
#21813E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#21813E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21813E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21813E#FFFFFF#000000##FFFFFF
##21813E1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827538
Deuteranopia (green-blind)
#776D43
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21813e;
/* rgb */ color: rgb(33, 129, 62);
/* oklch */ color: oklch(53.3% 0.134 149.1);
Tailwind
colors: {
  custom: {
    50: '#6ba675',
    500: '#21813e',
    950: '#000000',
  },
}
SCSS
$custom: #21813e;
$custom-light: #6ba675;
$custom-dark: #000000;
JSON
{
  "hex": "#21813e",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 62
  },
  "hsl": {
    "h": 138.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53268,
    "c": 0.13409,
    "h": 149.1
  },
  "luminance": 0.16372
}

Semantic roles & 50–950 ramp

primary
#21813E
secondary
#B44A94
accent
#45B3E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #21813E

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

Preview Lab → · Contrast checker → · Palette generator →

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