#21843F#21843F

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

Color values

HEX#21843F
RGBrgb(33, 132, 63)
HSLhsl(138, 60%, 32%)
HSVhsv(138, 75%, 52%)
CMYKcmyk(75%, 0%, 52.3%, 48.2%)
CIE-LABlab(48.49, -43.72, 29.19)
CIE-LCHlch(48.49, 52.57, 146.27°)
OKLaboklab(54.13% -0.1176 0.0707)
OKLCHoklch(54.13% 0.137 149)
XYZxyz(9.7749, 17.1836, 7.5033)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21843F #842166
analogous
#348421 #21843F #218471
triadic
#21843F #3F2184 #843F21
tetradic
#21843F #213484 #842166 #847121
square
#21843F #213484 #842166 #847121
split-complementary
#21843F #712184 #842134
monochromatic
#092210 #155328 #21843F #2DB556 #4DD275

Accessibility & contrast

On white

4.73
#21843F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#21843F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21843F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21843F#FFFFFF#000000##FFFFFF
##21843F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857839
Deuteranopia (green-blind)
#797044
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21843f;
/* rgb */ color: rgb(33, 132, 63);
/* oklch */ color: oklch(54.1% 0.137 149.0);
Tailwind
colors: {
  custom: {
    50: '#6ca975',
    500: '#21843f',
    950: '#000000',
  },
}
SCSS
$custom: #21843f;
$custom-light: #6ca975;
$custom-dark: #000000;
JSON
{
  "hex": "#21843f",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 63
  },
  "hsl": {
    "h": 138.182,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.13722,
    "h": 149
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#21843F
secondary
#B64B95
accent
#45B3E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #21843F

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

Preview Lab → · Contrast checker → · Palette generator →

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