#21843E#21843E

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

Color values

HEX#21843E
RGBrgb(33, 132, 62)
HSLhsl(138, 60%, 32%)
HSVhsv(138, 75%, 52%)
CMYKcmyk(75%, 0%, 53%, 48.2%)
CIE-LABlab(48.48, -43.88, 29.71)
CIE-LCHlch(48.48, 52.99, 145.90°)
OKLaboklab(54.11% -0.1181 0.0718)
OKLCHoklch(54.11% 0.138 148.7)
XYZxyz(9.7472, 17.1725, 7.3574)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21843E #842167
analogous
#358421 #21843E #218470
triadic
#21843E #3E2184 #843E21
tetradic
#21843E #213584 #842167 #847021
square
#21843E #213584 #842167 #847021
split-complementary
#21843E #702184 #842135
monochromatic
#092210 #155327 #21843E #2DB555 #4DD274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21843E#FFFFFF#000000##FFFFFF
##21843E1.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)
#857838
Deuteranopia (green-blind)
#7A7043
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #21843e;
/* rgb */ color: rgb(33, 132, 62);
/* oklch */ color: oklch(54.1% 0.138 148.7);
Tailwind
colors: {
  custom: {
    50: '#6ca975',
    500: '#21843e',
    950: '#000000',
  },
}
SCSS
$custom: #21843e;
$custom-light: #6ca975;
$custom-dark: #000000;
JSON
{
  "hex": "#21843e",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 62
  },
  "hsl": {
    "h": 137.576,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54111,
    "c": 0.13816,
    "h": 148.7
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#21843E
secondary
#B64B96
accent
#45B5E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #21843E

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

Preview Lab → · Contrast checker → · Palette generator →

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