#21703B#21703B

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

Color values

HEX#21703B
RGBrgb(33, 112, 59)
HSLhsl(140, 54%, 28%)
HSVhsv(140, 71%, 44%)
CMYKcmyk(70.5%, 0%, 47.3%, 56.1%)
CIE-LABlab(41.57, -36.50, 22.67)
CIE-LCHlch(41.57, 42.97, 148.16°)
OKLaboklab(48.4% -0.0984 0.0557)
OKLCHoklch(48.4% 0.113 150.5)
XYZxyz(7.2102, 12.2267, 6.1168)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21703B #702156
analogous
#2E7021 #21703B #217062
triadic
#21703B #3B2170 #703B21
tetradic
#21703B #212E70 #702156 #706221
square
#21703B #212E70 #702156 #706221
split-complementary
#21703B #622170 #70212E
monochromatic
#07180C #134122 #21703B #2F9F54 #44C86F

Accessibility & contrast

On white

6.10
#21703B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21703B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21703B#FFFFFF#000000##FFFFFF
##21703B1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21703b;
/* rgb */ color: rgb(33, 112, 59);
/* oklch */ color: oklch(48.4% 0.113 150.5);
Tailwind
colors: {
  custom: {
    50: '#679a72',
    500: '#21703b',
    950: '#000000',
  },
}
SCSS
$custom: #21703b;
$custom-light: #679a72;
$custom-dark: #000000;
JSON
{
  "hex": "#21703b",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 59
  },
  "hsl": {
    "h": 139.747,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.11306,
    "h": 150.5
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#21703B
secondary
#A44986
accent
#4AADDE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21703B

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

Preview Lab → · Contrast checker → · Palette generator →

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