#21892F#21892F

#21892F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.158 H 144.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#21892F
RGBrgb(33, 137, 47)
HSLhsl(128, 61%, 33%)
HSVhsv(128, 76%, 54%)
CMYKcmyk(75.9%, 0%, 65.7%, 46.3%)
CIE-LABlab(50.00, -47.77, 38.92)
CIE-LCHlch(50.00, 61.62, 140.83°)
OKLaboklab(55.32% -0.129 0.0906)
OKLCHoklch(55.32% 0.158 144.9)
XYZxyz(10.0853, 18.4187, 5.7124)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21892F #89217B
analogous
#478921 #21892F #218963
triadic
#21892F #2F2189 #892F21
tetradic
#21892F #214789 #89217B #896321
square
#21892F #214789 #89217B #896321
split-complementary
#21892F #632189 #892147
monochromatic
#09260D #15581E #21892F #2DBA40 #50D562

Accessibility & contrast

On white

4.48
#21892F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#21892F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21892F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21892F#FFFFFF#000000##000000
##21892F1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C24
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #21892f;
/* rgb */ color: rgb(33, 137, 47);
/* oklch */ color: oklch(55.3% 0.158 144.9);
Tailwind
colors: {
  custom: {
    50: '#6eac6b',
    500: '#21892f',
    950: '#000000',
  },
}
SCSS
$custom: #21892f;
$custom-light: #6eac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#21892f",
  "rgb": {
    "r": 33,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 128.077,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.15766,
    "h": 144.9
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#21892F
secondary
#B84EAA
accent
#44CFE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21892F

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

Preview Lab → · Contrast checker → · Palette generator →

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