#21843D#21843D

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

Color values

HEX#21843D
RGBrgb(33, 132, 61)
HSLhsl(137, 60%, 32%)
HSVhsv(137, 75%, 52%)
CMYKcmyk(75%, 0%, 53.8%, 48.2%)
CIE-LABlab(48.46, -44.04, 30.21)
CIE-LCHlch(48.46, 53.41, 145.55°)
OKLaboklab(54.1% -0.1185 0.0729)
OKLCHoklch(54.1% 0.139 148.4)
XYZxyz(9.7200, 17.1617, 7.2142)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21843D #842168
analogous
#368421 #21843D #21846F
triadic
#21843D #3D2184 #843D21
tetradic
#21843D #213684 #842168 #846F21
square
#21843D #213684 #842168 #846F21
split-complementary
#21843D #6F2184 #842136
monochromatic
#092210 #155326 #21843D #2DB554 #4DD273

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21843D#FFFFFF#000000##FFFFFF
##21843D1.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)
#857837
Deuteranopia (green-blind)
#7A7042
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21843d;
/* rgb */ color: rgb(33, 132, 61);
/* oklch */ color: oklch(54.1% 0.139 148.4);
Tailwind
colors: {
  custom: {
    50: '#6ca974',
    500: '#21843d',
    950: '#000000',
  },
}
SCSS
$custom: #21843d;
$custom-light: #6ca974;
$custom-dark: #000000;
JSON
{
  "hex": "#21843d",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 61
  },
  "hsl": {
    "h": 136.97,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.1391,
    "h": 148.4
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#21843D
secondary
#B64B97
accent
#45B6E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #21843D

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

Preview Lab → · Contrast checker → · Palette generator →

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