#21843C#21843C

#21843C is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.140 H 148.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#21843C
RGBrgb(33, 132, 60)
HSLhsl(136, 60%, 32%)
HSVhsv(136, 75%, 52%)
CMYKcmyk(75%, 0%, 54.5%, 48.2%)
CIE-LABlab(48.45, -44.20, 30.72)
CIE-LCHlch(48.45, 53.82, 145.20°)
OKLaboklab(54.08% -0.1189 0.0739)
OKLCHoklch(54.08% 0.14 148.1)
XYZxyz(9.6933, 17.1510, 7.0737)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21843C #842169
analogous
#378421 #21843C #21846E
triadic
#21843C #3C2184 #843C21
tetradic
#21843C #213784 #842169 #846E21
square
#21843C #213784 #842169 #846E21
split-complementary
#21843C #6E2184 #842137
monochromatic
#09220F #155326 #21843C #2DB552 #4DD271

Accessibility & contrast

On white

4.74
#21843C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#21843C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21843C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21843C#FFFFFF#000000##FFFFFF
##21843C1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857836
Deuteranopia (green-blind)
#7A7041
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21843c;
/* rgb */ color: rgb(33, 132, 60);
/* oklch */ color: oklch(54.1% 0.140 148.1);
Tailwind
colors: {
  custom: {
    50: '#6ca973',
    500: '#21843c',
    950: '#000000',
  },
}
SCSS
$custom: #21843c;
$custom-light: #6ca973;
$custom-dark: #000000;
JSON
{
  "hex": "#21843c",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 60
  },
  "hsl": {
    "h": 136.364,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.14003,
    "h": 148.1
  },
  "luminance": 0.17152
}

Semantic roles & 50–950 ramp

primary
#21843C
secondary
#B64B99
accent
#45B8E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #21843C

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

Preview Lab → · Contrast checker → · Palette generator →

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