#21874B#21874B

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

Color values

HEX#21874B
RGBrgb(33, 135, 75)
HSLhsl(145, 61%, 33%)
HSVhsv(145, 76%, 53%)
CMYKcmyk(75.6%, 0%, 44.4%, 47.1%)
CIE-LABlab(49.69, -42.76, 24.23)
CIE-LCHlch(49.69, 49.15, 150.47°)
OKLaboklab(55.18% -0.1151 0.0598)
OKLCHoklch(55.18% 0.13 152.5)
XYZxyz(10.5602, 18.1581, 9.6035)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21874B #87215D
analogous
#2A8721 #21874B #21877E
triadic
#21874B #4B2187 #874B21
tetradic
#21874B #212A87 #87215D #877E21
square
#21874B #212A87 #87215D #877E21
split-complementary
#21874B #7E2187 #87212A
monochromatic
#092514 #155630 #21874B #2DB866 #4FD485

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21874B#FFFFFF#000000##000000
##21874B1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21874b;
/* rgb */ color: rgb(33, 135, 75);
/* oklch */ color: oklch(55.2% 0.130 152.5);
Tailwind
colors: {
  custom: {
    50: '#6cab7e',
    500: '#21874b',
    950: '#000000',
  },
}
SCSS
$custom: #21874b;
$custom-light: #6cab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#21874b",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 144.706,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55176,
    "c": 0.12975,
    "h": 152.5
  },
  "luminance": 0.18159
}

Semantic roles & 50–950 ramp

primary
#21874B
secondary
#B74D8B
accent
#44A2E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #21874B

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

Preview Lab → · Contrast checker → · Palette generator →

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