#21874A#21874A

#21874A is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.2% C 0.131 H 152.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#21874A
RGBrgb(33, 135, 74)
HSLhsl(144, 61%, 33%)
HSVhsv(144, 76%, 53%)
CMYKcmyk(75.6%, 0%, 45.2%, 47.1%)
CIE-LABlab(49.67, -42.95, 24.76)
CIE-LCHlch(49.67, 49.57, 150.04°)
OKLaboklab(55.16% -0.1156 0.061)
OKLCHoklch(55.16% 0.131 152.2)
XYZxyz(10.5263, 18.1445, 9.4247)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21874A #87215E
analogous
#2B8721 #21874A #21877D
triadic
#21874A #4A2187 #874A21
tetradic
#21874A #212B87 #87215E #877D21
square
#21874A #212B87 #87215E #877D21
split-complementary
#21874A #7D2187 #87212B
monochromatic
#092514 #15562F #21874A #2DB865 #4FD484

Accessibility & contrast

On white

4.54
#21874A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#21874A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21874A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21874A#FFFFFF#000000##000000
##21874A1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B45
Deuteranopia (green-blind)
#7B734E
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21874a;
/* rgb */ color: rgb(33, 135, 74);
/* oklch */ color: oklch(55.2% 0.131 152.2);
Tailwind
colors: {
  custom: {
    50: '#6cab7d',
    500: '#21874a',
    950: '#000000',
  },
}
SCSS
$custom: #21874a;
$custom-light: #6cab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#21874a",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 144.118,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55157,
    "c": 0.13073,
    "h": 152.2
  },
  "luminance": 0.18146
}

Semantic roles & 50–950 ramp

primary
#21874A
secondary
#B74D8C
accent
#44A4E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #21874A

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

Preview Lab → · Contrast checker → · Palette generator →

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