#21814D#21814D

#21814D is a mid, moderate green. Relative luminance 0.166; OKLCH L 53.5% C 0.119 H 154.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#21814D
RGBrgb(33, 129, 77)
HSLhsl(148, 59%, 32%)
HSVhsv(148, 74%, 51%)
CMYKcmyk(74.4%, 0%, 40.3%, 49.4%)
CIE-LABlab(47.70, -39.98, 20.51)
CIE-LCHlch(47.70, 44.93, 152.84°)
OKLaboklab(53.55% -0.1079 0.0512)
OKLCHoklch(53.55% 0.119 154.6)
XYZxyz(9.8161, 16.5585, 9.6985)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21814D #812155
analogous
#258121 #21814D #21817D
triadic
#21814D #4D2181 #814D21
tetradic
#21814D #212581 #812155 #817D21
square
#21814D #212581 #812155 #817D21
split-complementary
#21814D #7D2181 #812125
monochromatic
#082013 #155030 #21814D #2DB26A #4BD189

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21814D#FFFFFF#000000##FFFFFF
##21814D1.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)
#817649
Deuteranopia (green-blind)
#756E50
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21814d;
/* rgb */ color: rgb(33, 129, 77);
/* oklch */ color: oklch(53.5% 0.119 154.6);
Tailwind
colors: {
  custom: {
    50: '#6ba67f',
    500: '#21814d',
    950: '#000000',
  },
}
SCSS
$custom: #21814d;
$custom-light: #6ba67f;
$custom-dark: #000000;
JSON
{
  "hex": "#21814d",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 77
  },
  "hsl": {
    "h": 147.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.11941,
    "h": 154.6
  },
  "luminance": 0.1656
}

Semantic roles & 50–950 ramp

primary
#21814D
secondary
#B44A83
accent
#459AE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #21814D

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

Preview Lab → · Contrast checker → · Palette generator →

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