#21874E#21874E

#21874E is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.127 H 153.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#21874E
RGBrgb(33, 135, 78)
HSLhsl(146, 61%, 33%)
HSVhsv(146, 76%, 53%)
CMYKcmyk(75.6%, 0%, 42.2%, 47.1%)
CIE-LABlab(49.74, -42.19, 22.64)
CIE-LCHlch(49.74, 47.88, 151.78°)
OKLaboklab(55.23% -0.1137 0.0562)
OKLCHoklch(55.23% 0.127 153.7)
XYZxyz(10.6653, 18.2001, 10.1571)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21874E #87215A
analogous
#278721 #21874E #218781
triadic
#21874E #4E2187 #874E21
tetradic
#21874E #212787 #87215A #878121
square
#21874E #212787 #87215A #878121
split-complementary
#21874E #812187 #872127
monochromatic
#092515 #155632 #21874E #2DB86A #4FD489

Accessibility & contrast

On white

4.53
#21874E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#21874E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21874E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21874E#FFFFFF#000000##000000
##21874E1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B4A
Deuteranopia (green-blind)
#7B7352
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21874e;
/* rgb */ color: rgb(33, 135, 78);
/* oklch */ color: oklch(55.2% 0.127 153.7);
Tailwind
colors: {
  custom: {
    50: '#6cab80',
    500: '#21874e',
    950: '#000000',
  },
}
SCSS
$custom: #21874e;
$custom-light: #6cab80;
$custom-dark: #000000;
JSON
{
  "hex": "#21874e",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 78
  },
  "hsl": {
    "h": 146.471,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55234,
    "c": 0.12683,
    "h": 153.7
  },
  "luminance": 0.18201
}

Semantic roles & 50–950 ramp

primary
#21874E
secondary
#B74D88
accent
#449DE4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #21874E

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

Preview Lab → · Contrast checker → · Palette generator →

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