#21814B#21814B

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

Color values

HEX#21814B
RGBrgb(33, 129, 75)
HSLhsl(146, 59%, 32%)
HSVhsv(146, 74%, 51%)
CMYKcmyk(74.4%, 0%, 41.9%, 49.4%)
CIE-LABlab(47.66, -40.38, 21.58)
CIE-LCHlch(47.66, 45.79, 151.87°)
OKLaboklab(53.51% -0.1089 0.0537)
OKLCHoklch(53.51% 0.121 153.8)
XYZxyz(9.7466, 16.5307, 9.3323)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21814B #812157
analogous
#278121 #21814B #21817B
triadic
#21814B #4B2181 #814B21
tetradic
#21814B #212781 #812157 #817B21
square
#21814B #212781 #812157 #817B21
split-complementary
#21814B #7B2181 #812127
monochromatic
#082012 #15502F #21814B #2DB267 #4BD186

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21814B#FFFFFF#000000##FFFFFF
##21814B1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21814b;
/* rgb */ color: rgb(33, 129, 75);
/* oklch */ color: oklch(53.5% 0.121 153.8);
Tailwind
colors: {
  custom: {
    50: '#6ba67e',
    500: '#21814b',
    950: '#000000',
  },
}
SCSS
$custom: #21814b;
$custom-light: #6ba67e;
$custom-dark: #000000;
JSON
{
  "hex": "#21814b",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 75
  },
  "hsl": {
    "h": 146.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53505,
    "c": 0.12138,
    "h": 153.8
  },
  "luminance": 0.16532
}

Semantic roles & 50–950 ramp

primary
#21814B
secondary
#B44A85
accent
#459EE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #21814B

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

Preview Lab → · Contrast checker → · Palette generator →

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