#21702B#21702B

#21702B is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.129 H 145.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#21702B
RGBrgb(33, 112, 43)
HSLhsl(128, 54%, 28%)
HSVhsv(128, 71%, 44%)
CMYKcmyk(70.5%, 0%, 61.6%, 56.1%)
CIE-LABlab(41.35, -39.06, 31.00)
CIE-LCHlch(41.35, 49.87, 141.56°)
OKLaboklab(48.14% -0.1056 0.0733)
OKLCHoklch(48.14% 0.129 145.2)
XYZxyz(6.8570, 12.0854, 4.2564)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21702B #702166
analogous
#3E7021 #21702B #217052
triadic
#21702B #2B2170 #702B21
tetradic
#21702B #213E70 #702166 #705221
square
#21702B #213E70 #702166 #705221
split-complementary
#21702B #522170 #70213E
monochromatic
#071809 #134119 #21702B #2F9F3D #44C854

Accessibility & contrast

On white

6.15
#21702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#21702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21702B
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21702B#FFFFFF#000000##FFFFFF
##21702B1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726624
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#086D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21702b;
/* rgb */ color: rgb(33, 112, 43);
/* oklch */ color: oklch(48.1% 0.129 145.2);
Tailwind
colors: {
  custom: {
    50: '#689a67',
    500: '#21702b',
    950: '#000000',
  },
}
SCSS
$custom: #21702b;
$custom-light: #689a67;
$custom-dark: #000000;
JSON
{
  "hex": "#21702b",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 127.595,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.1285,
    "h": 145.2
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#21702B
secondary
#A44998
accent
#4ACBDE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21702B

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

Preview Lab → · Contrast checker → · Palette generator →

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