#21814F#21814F

#21814F is a mid, moderate green. Relative luminance 0.166; OKLCH L 53.6% C 0.117 H 155.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#21814F
RGBrgb(33, 129, 79)
HSLhsl(149, 59%, 32%)
HSVhsv(149, 74%, 51%)
CMYKcmyk(74.4%, 0%, 38.8%, 49.4%)
CIE-LABlab(47.74, -39.57, 19.43)
CIE-LCHlch(47.74, 44.08, 153.85°)
OKLaboklab(53.59% -0.1069 0.0486)
OKLCHoklch(53.59% 0.117 155.5)
XYZxyz(9.8878, 16.5872, 10.0762)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21814F #812153
analogous
#238121 #21814F #21817F
triadic
#21814F #4F2181 #814F21
tetradic
#21814F #212381 #812153 #817F21
square
#21814F #212381 #812153 #817F21
split-complementary
#21814F #7F2181 #812123
monochromatic
#082013 #155031 #21814F #2DB26D #4BD18B

Accessibility & contrast

On white

4.86
#21814F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#21814F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21814F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21814F#FFFFFF#000000##FFFFFF
##21814F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764C
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21814f;
/* rgb */ color: rgb(33, 129, 79);
/* oklch */ color: oklch(53.6% 0.117 155.5);
Tailwind
colors: {
  custom: {
    50: '#6ba680',
    500: '#21814f',
    950: '#000000',
  },
}
SCSS
$custom: #21814f;
$custom-light: #6ba680;
$custom-dark: #000000;
JSON
{
  "hex": "#21814f",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 79
  },
  "hsl": {
    "h": 148.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.11745,
    "h": 155.5
  },
  "luminance": 0.16588
}

Semantic roles & 50–950 ramp

primary
#21814F
secondary
#B44A81
accent
#4597E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #21814F

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

Preview Lab → · Contrast checker → · Palette generator →

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