#21804A#21804A

#21804A is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.121 H 153.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#21804A
RGBrgb(33, 128, 74)
HSLhsl(146, 59%, 32%)
HSVhsv(146, 74%, 50%)
CMYKcmyk(74.2%, 0%, 42.2%, 49.8%)
CIE-LABlab(47.31, -40.17, 21.68)
CIE-LCHlch(47.31, 45.65, 151.65°)
OKLaboklab(53.21% -0.1083 0.0539)
OKLCHoklch(53.21% 0.121 153.6)
XYZxyz(9.5815, 16.2550, 9.1098)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21804A #802157
analogous
#288021 #21804A #21807A
triadic
#21804A #4A2180 #804A21
tetradic
#21804A #212880 #802157 #807A21
square
#21804A #212880 #802157 #807A21
split-complementary
#21804A #7A2180 #802128
monochromatic
#081F12 #144F2E #21804A #2EB166 #4BD185

Accessibility & contrast

On white

4.94
#21804A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#21804A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21804A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21804A#FFFFFF#000000##FFFFFF
##21804A1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807546
Deuteranopia (green-blind)
#746D4E
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #21804a;
/* rgb */ color: rgb(33, 128, 74);
/* oklch */ color: oklch(53.2% 0.121 153.6);
Tailwind
colors: {
  custom: {
    50: '#6ba67d',
    500: '#21804a',
    950: '#000000',
  },
}
SCSS
$custom: #21804a;
$custom-light: #6ba67d;
$custom-dark: #000000;
JSON
{
  "hex": "#21804a",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 74
  },
  "hsl": {
    "h": 145.895,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53206,
    "c": 0.12096,
    "h": 153.6
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#21804A
secondary
#B34A86
accent
#469FE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #21804A

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

Preview Lab → · Contrast checker → · Palette generator →

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