#21874C#21874C

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

Color values

HEX#21874C
RGBrgb(33, 135, 76)
HSLhsl(145, 61%, 33%)
HSVhsv(145, 76%, 53%)
CMYKcmyk(75.6%, 0%, 43.7%, 47.1%)
CIE-LABlab(49.70, -42.57, 23.70)
CIE-LCHlch(49.70, 48.73, 150.90°)
OKLaboklab(55.2% -0.1146 0.0586)
OKLCHoklch(55.2% 0.129 152.9)
XYZxyz(10.5947, 18.1719, 9.7852)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21874C #87215C
analogous
#298721 #21874C #21877F
triadic
#21874C #4C2187 #874C21
tetradic
#21874C #212987 #87215C #877F21
square
#21874C #212987 #87215C #877F21
split-complementary
#21874C #7F2187 #872129
monochromatic
#092515 #155630 #21874C #2DB868 #4FD487

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21874C#FFFFFF#000000##000000
##21874C1.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)
#877B48
Deuteranopia (green-blind)
#7B7350
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21874c;
/* rgb */ color: rgb(33, 135, 76);
/* oklch */ color: oklch(55.2% 0.129 152.9);
Tailwind
colors: {
  custom: {
    50: '#6cab7f',
    500: '#21874c',
    950: '#000000',
  },
}
SCSS
$custom: #21874c;
$custom-light: #6cab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#21874c",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 76
  },
  "hsl": {
    "h": 145.294,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55195,
    "c": 0.12878,
    "h": 152.9
  },
  "luminance": 0.18173
}

Semantic roles & 50–950 ramp

primary
#21874C
secondary
#B74D8A
accent
#44A0E4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #21874C

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

Preview Lab → · Contrast checker → · Palette generator →

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