#21702C#21702C

#21702C is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.128 H 145.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#21702C
RGBrgb(33, 112, 44)
HSLhsl(128, 54%, 28%)
HSVhsv(128, 71%, 44%)
CMYKcmyk(70.5%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.36, -38.92, 30.51)
CIE-LCHlch(41.36, 49.45, 141.91°)
OKLaboklab(48.15% -0.1052 0.0723)
OKLCHoklch(48.15% 0.128 145.5)
XYZxyz(6.8755, 12.0928, 4.3542)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21702C #702165
analogous
#3D7021 #21702C #217053
triadic
#21702C #2C2170 #702C21
tetradic
#21702C #213D70 #702165 #705321
square
#21702C #213D70 #702165 #705321
split-complementary
#21702C #532170 #70213D
monochromatic
#071809 #134119 #21702C #2F9F3F #44C856

Accessibility & contrast

On white

6.14
#21702C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21702C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21702C#FFFFFF#000000##FFFFFF
##21702C1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21702c;
/* rgb */ color: rgb(33, 112, 44);
/* oklch */ color: oklch(48.2% 0.128 145.5);
Tailwind
colors: {
  custom: {
    50: '#689a67',
    500: '#21702c',
    950: '#000000',
  },
}
SCSS
$custom: #21702c;
$custom-light: #689a67;
$custom-dark: #000000;
JSON
{
  "hex": "#21702c",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 128.354,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48152,
    "c": 0.1276,
    "h": 145.5
  },
  "luminance": 0.12094
}

Semantic roles & 50–950 ramp

primary
#21702C
secondary
#A44997
accent
#4AC9DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21702C

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

Preview Lab → · Contrast checker → · Palette generator →

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