#21802C#21802C

#21802C is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.149 H 144.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#21802C
RGBrgb(33, 128, 44)
HSLhsl(127, 59%, 32%)
HSVhsv(127, 74%, 50%)
CMYKcmyk(74.2%, 0%, 65.6%, 49.8%)
CIE-LABlab(46.90, -44.92, 36.85)
CIE-LCHlch(46.90, 58.10, 140.64°)
OKLaboklab(52.74% -0.1214 0.0859)
OKLCHoklch(52.74% 0.149 144.7)
XYZxyz(8.8004, 15.9425, 4.9958)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21802C #802175
analogous
#468021 #21802C #21805C
triadic
#21802C #2C2180 #802C21
tetradic
#21802C #214680 #802175 #805C21
square
#21802C #214680 #802175 #805C21
split-complementary
#21802C #5C2180 #802146
monochromatic
#081F0B #144F1B #21802C #2EB13D #4BD15A

Accessibility & contrast

On white

5.01
#21802C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#21802C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21802C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21802C#FFFFFF#000000##FFFFFF
##21802C1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827422
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #21802c;
/* rgb */ color: rgb(33, 128, 44);
/* oklch */ color: oklch(52.7% 0.149 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ca669',
    500: '#21802c',
    950: '#000000',
  },
}
SCSS
$custom: #21802c;
$custom-light: #6ca669;
$custom-dark: #000000;
JSON
{
  "hex": "#21802c",
  "rgb": {
    "r": 33,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 126.947,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52736,
    "c": 0.14871,
    "h": 144.7
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#21802C
secondary
#B34AA7
accent
#46D0E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #21802C

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

Preview Lab → · Contrast checker → · Palette generator →

#21802C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva