#21843B#21843B

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

Color values

HEX#21843B
RGBrgb(33, 132, 59)
HSLhsl(136, 60%, 32%)
HSVhsv(136, 75%, 52%)
CMYKcmyk(75%, 0%, 55.3%, 48.2%)
CIE-LABlab(48.44, -44.35, 31.22)
CIE-LCHlch(48.44, 54.24, 144.85°)
OKLaboklab(54.07% -0.1194 0.075)
OKLCHoklch(54.07% 0.141 147.9)
XYZxyz(9.6671, 17.1405, 6.9358)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21843B #84216A
analogous
#388421 #21843B #21846D
triadic
#21843B #3B2184 #843B21
tetradic
#21843B #213884 #84216A #846D21
square
#21843B #213884 #84216A #846D21
split-complementary
#21843B #6D2184 #842138
monochromatic
#09220F #155325 #21843B #2DB551 #4DD270

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21843B#FFFFFF#000000##FFFFFF
##21843B1.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)
#857834
Deuteranopia (green-blind)
#7A7041
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21843b;
/* rgb */ color: rgb(33, 132, 59);
/* oklch */ color: oklch(54.1% 0.141 147.9);
Tailwind
colors: {
  custom: {
    50: '#6ca973',
    500: '#21843b',
    950: '#000000',
  },
}
SCSS
$custom: #21843b;
$custom-light: #6ca973;
$custom-dark: #000000;
JSON
{
  "hex": "#21843b",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 59
  },
  "hsl": {
    "h": 135.758,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.14095,
    "h": 147.9
  },
  "luminance": 0.17142
}

Semantic roles & 50–950 ramp

primary
#21843B
secondary
#B64B9A
accent
#45BAE3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #21843B

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

Preview Lab → · Contrast checker → · Palette generator →

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