#21703E#21703E

#21703E is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.5% C 0.110 H 151.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#21703E
RGBrgb(33, 112, 62)
HSLhsl(142, 54%, 28%)
HSVhsv(142, 71%, 44%)
CMYKcmyk(70.5%, 0%, 44.6%, 56.1%)
CIE-LABlab(41.62, -35.94, 21.03)
CIE-LCHlch(41.62, 41.64, 149.66°)
OKLaboklab(48.45% -0.0969 0.052)
OKLCHoklch(48.45% 0.11 151.8)
XYZxyz(7.2903, 12.2587, 6.5385)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21703E #702153
analogous
#2B7021 #21703E #217065
triadic
#21703E #3E2170 #703E21
tetradic
#21703E #212B70 #702153 #706521
square
#21703E #212B70 #702153 #706521
split-complementary
#21703E #652170 #70212B
monochromatic
#07180D #134124 #21703E #2F9F58 #44C874

Accessibility & contrast

On white

6.08
#21703E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21703E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21703E#FFFFFF#000000##FFFFFF
##21703E1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663A
Deuteranopia (green-blind)
#665F41
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21703e;
/* rgb */ color: rgb(33, 112, 62);
/* oklch */ color: oklch(48.5% 0.110 151.8);
Tailwind
colors: {
  custom: {
    50: '#679a74',
    500: '#21703e',
    950: '#000000',
  },
}
SCSS
$custom: #21703e;
$custom-light: #679a74;
$custom-dark: #000000;
JSON
{
  "hex": "#21703e",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 62
  },
  "hsl": {
    "h": 142.025,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48453,
    "c": 0.11,
    "h": 151.8
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#21703E
secondary
#A44982
accent
#4AA8DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21703E

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

Preview Lab → · Contrast checker → · Palette generator →

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