#21873E#21873E

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

Color values

HEX#21873E
RGBrgb(33, 135, 62)
HSLhsl(137, 61%, 33%)
HSVhsv(137, 76%, 53%)
CMYKcmyk(75.6%, 0%, 54.1%, 47.1%)
CIE-LABlab(49.49, -45.01, 30.95)
CIE-LCHlch(49.49, 54.62, 145.48°)
OKLaboklab(54.95% -0.1211 0.0746)
OKLCHoklch(54.95% 0.142 148.4)
XYZxyz(10.1599, 17.9979, 7.4950)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21873E #87216A
analogous
#378721 #21873E #218771
triadic
#21873E #3E2187 #873E21
tetradic
#21873E #213787 #87216A #877121
square
#21873E #213787 #87216A #877121
split-complementary
#21873E #712187 #872137
monochromatic
#092511 #155627 #21873E #2DB855 #4FD474

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21873E#FFFFFF#000000##000000
##21873E1.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)
#887B38
Deuteranopia (green-blind)
#7C7243
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21873e;
/* rgb */ color: rgb(33, 135, 62);
/* oklch */ color: oklch(55.0% 0.142 148.4);
Tailwind
colors: {
  custom: {
    50: '#6dab75',
    500: '#21873e',
    950: '#000000',
  },
}
SCSS
$custom: #21873e;
$custom-light: #6dab75;
$custom-dark: #000000;
JSON
{
  "hex": "#21873e",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 137.059,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54952,
    "c": 0.14219,
    "h": 148.4
  },
  "luminance": 0.17999
}

Semantic roles & 50–950 ramp

primary
#21873E
secondary
#B74D99
accent
#44B6E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #21873E

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

Preview Lab → · Contrast checker → · Palette generator →

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