#21814C#21814C

#21814C is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.120 H 154.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#21814C
RGBrgb(33, 129, 76)
HSLhsl(147, 59%, 32%)
HSVhsv(147, 74%, 51%)
CMYKcmyk(74.4%, 0%, 41.1%, 49.4%)
CIE-LABlab(47.68, -40.18, 21.05)
CIE-LCHlch(47.68, 45.36, 152.35°)
OKLaboklab(53.53% -0.1084 0.0524)
OKLCHoklch(53.53% 0.12 154.2)
XYZxyz(9.7811, 16.5445, 9.5140)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21814C #812156
analogous
#268121 #21814C #21817C
triadic
#21814C #4C2181 #814C21
tetradic
#21814C #212681 #812156 #817C21
square
#21814C #212681 #812156 #817C21
split-complementary
#21814C #7C2181 #812126
monochromatic
#082013 #15502F #21814C #2DB269 #4BD187

Accessibility & contrast

On white

4.87
#21814C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#21814C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21814C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21814C#FFFFFF#000000##FFFFFF
##21814C1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817648
Deuteranopia (green-blind)
#756E50
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21814c;
/* rgb */ color: rgb(33, 129, 76);
/* oklch */ color: oklch(53.5% 0.120 154.2);
Tailwind
colors: {
  custom: {
    50: '#6ba67e',
    500: '#21814c',
    950: '#000000',
  },
}
SCSS
$custom: #21814c;
$custom-light: #6ba67e;
$custom-dark: #000000;
JSON
{
  "hex": "#21814c",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 76
  },
  "hsl": {
    "h": 146.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53526,
    "c": 0.1204,
    "h": 154.2
  },
  "luminance": 0.16546
}

Semantic roles & 50–950 ramp

primary
#21814C
secondary
#B44A84
accent
#459CE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #21814C

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

Preview Lab → · Contrast checker → · Palette generator →

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