#21873D#21873D

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

Color values

HEX#21873D
RGBrgb(33, 135, 61)
HSLhsl(136, 61%, 33%)
HSVhsv(136, 76%, 53%)
CMYKcmyk(75.6%, 0%, 54.8%, 47.1%)
CIE-LABlab(49.48, -45.16, 31.46)
CIE-LCHlch(49.48, 55.04, 145.14°)
OKLaboklab(54.94% -0.1215 0.0756)
OKLCHoklch(54.94% 0.143 148.1)
XYZxyz(10.1327, 17.9870, 7.3518)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21873D #87216B
analogous
#388721 #21873D #218770
triadic
#21873D #3D2187 #873D21
tetradic
#21873D #213887 #87216B #877021
square
#21873D #213887 #87216B #877021
split-complementary
#21873D #702187 #872138
monochromatic
#092511 #155627 #21873D #2DB853 #4FD473

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21873D#FFFFFF#000000##000000
##21873D1.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)
#887B36
Deuteranopia (green-blind)
#7D7243
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21873d;
/* rgb */ color: rgb(33, 135, 61);
/* oklch */ color: oklch(54.9% 0.143 148.1);
Tailwind
colors: {
  custom: {
    50: '#6dab74',
    500: '#21873d',
    950: '#000000',
  },
}
SCSS
$custom: #21873d;
$custom-light: #6dab74;
$custom-dark: #000000;
JSON
{
  "hex": "#21873d",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 136.471,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.14311,
    "h": 148.1
  },
  "luminance": 0.17988
}

Semantic roles & 50–950 ramp

primary
#21873D
secondary
#B74D9A
accent
#44B8E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #21873D

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

Preview Lab → · Contrast checker → · Palette generator →

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