#21813B#21813B

#21813B is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.137 H 148.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#21813B
RGBrgb(33, 129, 59)
HSLhsl(136, 59%, 32%)
HSVhsv(136, 74%, 51%)
CMYKcmyk(74.4%, 0%, 54.3%, 49.4%)
CIE-LABlab(47.42, -43.22, 29.98)
CIE-LCHlch(47.42, 52.60, 145.25°)
OKLaboklab(53.22% -0.1163 0.0722)
OKLCHoklch(53.22% 0.137 148.2)
XYZxyz(9.2662, 16.3386, 6.8021)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21813B #812167
analogous
#378121 #21813B #21816B
triadic
#21813B #3B2181 #813B21
tetradic
#21813B #213781 #812167 #816B21
square
#21813B #213781 #812167 #816B21
split-complementary
#21813B #6B2181 #812137
monochromatic
#08200E #155025 #21813B #2DB251 #4BD170

Accessibility & contrast

On white

4.92
#21813B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21813B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21813B#FFFFFF#000000##FFFFFF
##21813B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827535
Deuteranopia (green-blind)
#776D40
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21813b;
/* rgb */ color: rgb(33, 129, 59);
/* oklch */ color: oklch(53.2% 0.137 148.2);
Tailwind
colors: {
  custom: {
    50: '#6ba672',
    500: '#21813b',
    950: '#000000',
  },
}
SCSS
$custom: #21813b;
$custom-light: #6ba672;
$custom-dark: #000000;
JSON
{
  "hex": "#21813b",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 59
  },
  "hsl": {
    "h": 136.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.13692,
    "h": 148.2
  },
  "luminance": 0.1634
}

Semantic roles & 50–950 ramp

primary
#21813B
secondary
#B44A97
accent
#45B8E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #21813B

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

Preview Lab → · Contrast checker → · Palette generator →

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