#21813C#21813C

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

Color values

HEX#21813C
RGBrgb(33, 129, 60)
HSLhsl(137, 59%, 32%)
HSVhsv(137, 74%, 51%)
CMYKcmyk(74.4%, 0%, 53.5%, 49.4%)
CIE-LABlab(47.43, -43.06, 29.47)
CIE-LCHlch(47.43, 52.18, 145.61°)
OKLaboklab(53.24% -0.1159 0.0711)
OKLCHoklch(53.24% 0.136 148.5)
XYZxyz(9.2923, 16.3490, 6.9400)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21813C #812166
analogous
#368121 #21813C #21816C
triadic
#21813C #3C2181 #813C21
tetradic
#21813C #213681 #812166 #816C21
square
#21813C #213681 #812166 #816C21
split-complementary
#21813C #6C2181 #812136
monochromatic
#08200F #155025 #21813C #2DB253 #4BD171

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21813C#FFFFFF#000000##FFFFFF
##21813C1.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)
#827536
Deuteranopia (green-blind)
#776D41
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21813c;
/* rgb */ color: rgb(33, 129, 60);
/* oklch */ color: oklch(53.2% 0.136 148.5);
Tailwind
colors: {
  custom: {
    50: '#6ba673',
    500: '#21813c',
    950: '#000000',
  },
}
SCSS
$custom: #21813c;
$custom-light: #6ba673;
$custom-dark: #000000;
JSON
{
  "hex": "#21813c",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 60
  },
  "hsl": {
    "h": 136.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53236,
    "c": 0.13599,
    "h": 148.5
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#21813C
secondary
#B44A96
accent
#45B6E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #21813C

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

Preview Lab → · Contrast checker → · Palette generator →

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