#21813A#21813A

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

Color values

HEX#21813A
RGBrgb(33, 129, 58)
HSLhsl(136, 59%, 32%)
HSVhsv(136, 74%, 51%)
CMYKcmyk(74.4%, 0%, 55%, 49.4%)
CIE-LABlab(47.40, -43.38, 30.49)
CIE-LCHlch(47.40, 53.02, 144.90°)
OKLaboklab(53.21% -0.1168 0.0733)
OKLCHoklch(53.21% 0.138 147.9)
XYZxyz(9.2405, 16.3283, 6.6669)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21813A #812168
analogous
#388121 #21813A #21816A
triadic
#21813A #3A2181 #813A21
tetradic
#21813A #213881 #812168 #816A21
square
#21813A #213881 #812168 #816A21
split-complementary
#21813A #6A2181 #812138
monochromatic
#08200E #155024 #21813A #2DB250 #4BD16E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21813A#FFFFFF#000000##FFFFFF
##21813A1.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)
#827534
Deuteranopia (green-blind)
#776D3F
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21813a;
/* rgb */ color: rgb(33, 129, 58);
/* oklch */ color: oklch(53.2% 0.138 147.9);
Tailwind
colors: {
  custom: {
    50: '#6ba672',
    500: '#21813a',
    950: '#000000',
  },
}
SCSS
$custom: #21813a;
$custom-light: #6ba672;
$custom-dark: #000000;
JSON
{
  "hex": "#21813a",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 58
  },
  "hsl": {
    "h": 135.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.13786,
    "h": 147.9
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#21813A
secondary
#B44A98
accent
#45BAE2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #21813A

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

Preview Lab → · Contrast checker → · Palette generator →

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