#21812C#21812C

#21812C is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.150 H 144.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#21812C
RGBrgb(33, 129, 44)
HSLhsl(127, 59%, 32%)
HSVhsv(127, 74%, 51%)
CMYKcmyk(74.4%, 0%, 65.9%, 49.4%)
CIE-LABlab(47.24, -45.28, 37.23)
CIE-LCHlch(47.24, 58.62, 140.57°)
OKLaboklab(53.02% -0.1224 0.0867)
OKLCHoklch(53.02% 0.15 144.7)
XYZxyz(8.9315, 16.2047, 5.0395)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21812C #812176
analogous
#468121 #21812C #21815C
triadic
#21812C #2C2181 #812C21
tetradic
#21812C #214681 #812176 #815C21
square
#21812C #214681 #812176 #815C21
split-complementary
#21812C #5C2181 #812146
monochromatic
#08200B #15501B #21812C #2DB23D #4BD15B

Accessibility & contrast

On white

4.95
#21812C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#21812C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21812C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21812C#FFFFFF#000000##FFFFFF
##21812C1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837522
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21812c;
/* rgb */ color: rgb(33, 129, 44);
/* oklch */ color: oklch(53.0% 0.150 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ca769',
    500: '#21812c',
    950: '#000000',
  },
}
SCSS
$custom: #21812c;
$custom-light: #6ca769;
$custom-dark: #000000;
JSON
{
  "hex": "#21812c",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 126.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5302,
    "c": 0.14998,
    "h": 144.7
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#21812C
secondary
#B44AA7
accent
#45D0E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #21812C

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

Preview Lab → · Contrast checker → · Palette generator →

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