#21873A#21873A

#21873A is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.146 H 147.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#21873A
RGBrgb(33, 135, 58)
HSLhsl(135, 61%, 33%)
HSVhsv(135, 76%, 53%)
CMYKcmyk(75.6%, 0%, 57%, 47.1%)
CIE-LABlab(49.44, -45.61, 32.95)
CIE-LCHlch(49.44, 56.27, 144.16°)
OKLaboklab(54.89% -0.1228 0.0787)
OKLCHoklch(54.89% 0.146 147.3)
XYZxyz(10.0541, 17.9556, 6.9381)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21873A #87216E
analogous
#3B8721 #21873A #21876D
triadic
#21873A #3A2187 #873A21
tetradic
#21873A #213B87 #87216E #876D21
square
#21873A #213B87 #87216E #876D21
split-complementary
#21873A #6D2187 #87213B
monochromatic
#092510 #155625 #21873A #2DB84F #4FD46F

Accessibility & contrast

On white

4.57
#21873A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#21873A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21873A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21873A#FFFFFF#000000##000000
##21873A1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B33
Deuteranopia (green-blind)
#7D7240
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21873a;
/* rgb */ color: rgb(33, 135, 58);
/* oklch */ color: oklch(54.9% 0.146 147.3);
Tailwind
colors: {
  custom: {
    50: '#6dab72',
    500: '#21873a',
    950: '#000000',
  },
}
SCSS
$custom: #21873a;
$custom-light: #6dab72;
$custom-dark: #000000;
JSON
{
  "hex": "#21873a",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 134.706,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.14584,
    "h": 147.3
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#21873A
secondary
#B74D9D
accent
#44BDE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #21873A

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

Preview Lab → · Contrast checker → · Palette generator →

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