#21814A#21814A

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

Color values

HEX#21814A
RGBrgb(33, 129, 74)
HSLhsl(146, 59%, 32%)
HSVhsv(146, 74%, 51%)
CMYKcmyk(74.4%, 0%, 42.6%, 49.4%)
CIE-LABlab(47.65, -40.58, 22.12)
CIE-LCHlch(47.65, 46.21, 151.40°)
OKLaboklab(53.49% -0.1094 0.0549)
OKLCHoklch(53.49% 0.122 153.3)
XYZxyz(9.7126, 16.5171, 9.1535)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21814A #812158
analogous
#288121 #21814A #21817A
triadic
#21814A #4A2181 #814A21
tetradic
#21814A #212881 #812158 #817A21
square
#21814A #212881 #812158 #817A21
split-complementary
#21814A #7A2181 #812128
monochromatic
#082012 #15502E #21814A #2DB266 #4BD184

Accessibility & contrast

On white

4.88
#21814A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#21814A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21814A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21814A#FFFFFF#000000##FFFFFF
##21814A1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817646
Deuteranopia (green-blind)
#756E4E
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21814a;
/* rgb */ color: rgb(33, 129, 74);
/* oklch */ color: oklch(53.5% 0.122 153.3);
Tailwind
colors: {
  custom: {
    50: '#6ba67d',
    500: '#21814a',
    950: '#000000',
  },
}
SCSS
$custom: #21814a;
$custom-light: #6ba67d;
$custom-dark: #000000;
JSON
{
  "hex": "#21814a",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 74
  },
  "hsl": {
    "h": 145.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.12237,
    "h": 153.3
  },
  "luminance": 0.16518
}

Semantic roles & 50–950 ramp

primary
#21814A
secondary
#B44A87
accent
#459FE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #21814A

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

Preview Lab → · Contrast checker → · Palette generator →

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