#21703C#21703C

#21703C is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.4% C 0.112 H 150.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#21703C
RGBrgb(33, 112, 60)
HSLhsl(141, 54%, 28%)
HSVhsv(141, 71%, 44%)
CMYKcmyk(70.5%, 0%, 46.4%, 56.1%)
CIE-LABlab(41.59, -36.32, 22.12)
CIE-LCHlch(41.59, 42.53, 148.65°)
OKLaboklab(48.41% -0.0979 0.0545)
OKLCHoklch(48.41% 0.112 150.9)
XYZxyz(7.2364, 12.2371, 6.2547)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21703C #702155
analogous
#2D7021 #21703C #217063
triadic
#21703C #3C2170 #703C21
tetradic
#21703C #212D70 #702155 #706321
square
#21703C #212D70 #702155 #706321
split-complementary
#21703C #632170 #70212D
monochromatic
#07180D #134123 #21703C #2F9F55 #44C871

Accessibility & contrast

On white

6.09
#21703C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#21703C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21703C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21703C#FFFFFF#000000##FFFFFF
##21703C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716638
Deuteranopia (green-blind)
#675F40
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21703c;
/* rgb */ color: rgb(33, 112, 60);
/* oklch */ color: oklch(48.4% 0.112 150.9);
Tailwind
colors: {
  custom: {
    50: '#679a72',
    500: '#21703c',
    950: '#000000',
  },
}
SCSS
$custom: #21703c;
$custom-light: #679a72;
$custom-dark: #000000;
JSON
{
  "hex": "#21703c",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 60
  },
  "hsl": {
    "h": 140.506,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48414,
    "c": 0.11205,
    "h": 150.9
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#21703C
secondary
#A44985
accent
#4AABDE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21703C

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

Preview Lab → · Contrast checker → · Palette generator →

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