#21814E#21814E

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

Color values

HEX#21814E
RGBrgb(33, 129, 78)
HSLhsl(148, 59%, 32%)
HSVhsv(148, 74%, 51%)
CMYKcmyk(74.4%, 0%, 39.5%, 49.4%)
CIE-LABlab(47.72, -39.77, 19.97)
CIE-LCHlch(47.72, 44.50, 153.34°)
OKLaboklab(53.57% -0.1074 0.0499)
OKLCHoklch(53.57% 0.118 155.1)
XYZxyz(9.8517, 16.5728, 9.8859)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21814E #812154
analogous
#248121 #21814E #21817E
triadic
#21814E #4E2181 #814E21
tetradic
#21814E #212481 #812154 #817E21
square
#21814E #212481 #812154 #817E21
split-complementary
#21814E #7E2181 #812124
monochromatic
#082013 #155031 #21814E #2DB26B #4BD18A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21814E#FFFFFF#000000##FFFFFF
##21814E1.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)
#81764B
Deuteranopia (green-blind)
#756E51
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21814e;
/* rgb */ color: rgb(33, 129, 78);
/* oklch */ color: oklch(53.6% 0.118 155.1);
Tailwind
colors: {
  custom: {
    50: '#6ba680',
    500: '#21814e',
    950: '#000000',
  },
}
SCSS
$custom: #21814e;
$custom-light: #6ba680;
$custom-dark: #000000;
JSON
{
  "hex": "#21814e",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 78
  },
  "hsl": {
    "h": 148.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53568,
    "c": 0.11842,
    "h": 155.1
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#21814E
secondary
#B44A82
accent
#4599E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #21814E

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

Preview Lab → · Contrast checker → · Palette generator →

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