#21893B#21893B

#21893B is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.148 H 147.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#21893B
RGBrgb(33, 137, 59)
HSLhsl(135, 61%, 33%)
HSVhsv(135, 76%, 54%)
CMYKcmyk(75.9%, 0%, 56.9%, 46.3%)
CIE-LABlab(50.13, -46.20, 33.27)
CIE-LCHlch(50.13, 56.93, 144.24°)
OKLaboklab(55.47% -0.1243 0.0795)
OKLCHoklch(55.47% 0.148 147.4)
XYZxyz(10.3615, 18.5292, 7.1672)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21893B #89216F
analogous
#3B8921 #21893B #21896F
triadic
#21893B #3B2189 #893B21
tetradic
#21893B #213B89 #89216F #896F21
square
#21893B #213B89 #89216F #896F21
split-complementary
#21893B #6F2189 #89213B
monochromatic
#092611 #155826 #21893B #2DBA50 #50D571

Accessibility & contrast

On white

4.46
#21893B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#21893B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21893B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21893B#FFFFFF#000000##000000
##21893B1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C34
Deuteranopia (green-blind)
#7F7441
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #21893b;
/* rgb */ color: rgb(33, 137, 59);
/* oklch */ color: oklch(55.5% 0.148 147.4);
Tailwind
colors: {
  custom: {
    50: '#6dac73',
    500: '#21893b',
    950: '#000000',
  },
}
SCSS
$custom: #21893b;
$custom-light: #6dac73;
$custom-dark: #000000;
JSON
{
  "hex": "#21893b",
  "rgb": {
    "r": 33,
    "g": 137,
    "b": 59
  },
  "hsl": {
    "h": 135,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55468,
    "c": 0.14757,
    "h": 147.4
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#21893B
secondary
#B84E9D
accent
#44BCE4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #21893B

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

Preview Lab → · Contrast checker → · Palette generator →

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