#21873F#21873F

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

Color values

HEX#21873F
RGBrgb(33, 135, 63)
HSLhsl(138, 61%, 33%)
HSVhsv(138, 76%, 53%)
CMYKcmyk(75.6%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.51, -44.85, 30.45)
CIE-LCHlch(49.51, 54.21, 145.83°)
OKLaboklab(54.97% -0.1206 0.0735)
OKLCHoklch(54.97% 0.141 148.7)
XYZxyz(10.1876, 18.0090, 7.6408)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21873F #872169
analogous
#368721 #21873F #218772
triadic
#21873F #3F2187 #873F21
tetradic
#21873F #213687 #872169 #877221
square
#21873F #213687 #872169 #877221
split-complementary
#21873F #722187 #872136
monochromatic
#092511 #155628 #21873F #2DB856 #4FD476

Accessibility & contrast

On white

4.56
#21873F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21873F#FFFFFF#000000##000000
##21873F1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21873f;
/* rgb */ color: rgb(33, 135, 63);
/* oklch */ color: oklch(55.0% 0.141 148.7);
Tailwind
colors: {
  custom: {
    50: '#6dab76',
    500: '#21873f',
    950: '#000000',
  },
}
SCSS
$custom: #21873f;
$custom-light: #6dab76;
$custom-dark: #000000;
JSON
{
  "hex": "#21873f",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 137.647,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54968,
    "c": 0.14126,
    "h": 148.7
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#21873F
secondary
#B74D98
accent
#44B5E4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #21873F

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

Preview Lab → · Contrast checker → · Palette generator →

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