#21703D#21703D

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

Color values

HEX#21703D
RGBrgb(33, 112, 61)
HSLhsl(141, 54%, 28%)
HSVhsv(141, 71%, 44%)
CMYKcmyk(70.5%, 0%, 45.5%, 56.1%)
CIE-LABlab(41.61, -36.13, 21.58)
CIE-LCHlch(41.61, 42.08, 149.15°)
OKLaboklab(48.43% -0.0974 0.0532)
OKLCHoklch(48.43% 0.111 151.4)
XYZxyz(7.2631, 12.2478, 6.3953)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21703D #702154
analogous
#2C7021 #21703D #217064
triadic
#21703D #3D2170 #703D21
tetradic
#21703D #212C70 #702154 #706421
square
#21703D #212C70 #702154 #706421
split-complementary
#21703D #642170 #70212C
monochromatic
#07180D #134123 #21703D #2F9F57 #44C872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21703D#FFFFFF#000000##FFFFFF
##21703D1.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)
#706639
Deuteranopia (green-blind)
#675F40
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21703d;
/* rgb */ color: rgb(33, 112, 61);
/* oklch */ color: oklch(48.4% 0.111 151.4);
Tailwind
colors: {
  custom: {
    50: '#679a73',
    500: '#21703d',
    950: '#000000',
  },
}
SCSS
$custom: #21703d;
$custom-light: #679a73;
$custom-dark: #000000;
JSON
{
  "hex": "#21703d",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 61
  },
  "hsl": {
    "h": 141.266,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.11102,
    "h": 151.4
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#21703D
secondary
#A44984
accent
#4AA9DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21703D

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

Preview Lab → · Contrast checker → · Palette generator →

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