#21873C#21873C

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

Color values

HEX#21873C
RGBrgb(33, 135, 60)
HSLhsl(136, 61%, 33%)
HSVhsv(136, 76%, 53%)
CMYKcmyk(75.6%, 0%, 55.6%, 47.1%)
CIE-LABlab(49.47, -45.31, 31.96)
CIE-LCHlch(49.47, 55.45, 144.81°)
OKLaboklab(54.92% -0.1219 0.0767)
OKLCHoklch(54.92% 0.144 147.8)
XYZxyz(10.1060, 17.9764, 7.2113)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21873C #87216C
analogous
#398721 #21873C #21876F
triadic
#21873C #3C2187 #873C21
tetradic
#21873C #213987 #87216C #876F21
square
#21873C #213987 #87216C #876F21
split-complementary
#21873C #6F2187 #872139
monochromatic
#092510 #155626 #21873C #2DB852 #4FD472

Accessibility & contrast

On white

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

On black

4.60
#21873C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21873C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21873C#FFFFFF#000000##000000
##21873C1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B35
Deuteranopia (green-blind)
#7D7242
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21873c;
/* rgb */ color: rgb(33, 135, 60);
/* oklch */ color: oklch(54.9% 0.144 147.8);
Tailwind
colors: {
  custom: {
    50: '#6dab74',
    500: '#21873c',
    950: '#000000',
  },
}
SCSS
$custom: #21873c;
$custom-light: #6dab74;
$custom-dark: #000000;
JSON
{
  "hex": "#21873c",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 135.882,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54922,
    "c": 0.14403,
    "h": 147.8
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#21873C
secondary
#B74D9B
accent
#44BAE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #21873C

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

Preview Lab → · Contrast checker → · Palette generator →

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