#21702E#21702E

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

Color values

HEX#21702E
RGBrgb(33, 112, 46)
HSLhsl(130, 54%, 28%)
HSVhsv(130, 71%, 44%)
CMYKcmyk(70.5%, 0%, 58.9%, 56.1%)
CIE-LABlab(41.39, -38.64, 29.51)
CIE-LCHlch(41.39, 48.62, 142.63°)
OKLaboklab(48.18% -0.1043 0.0702)
OKLCHoklch(48.18% 0.126 146)
XYZxyz(6.9140, 12.1082, 4.5570)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21702E #702163
analogous
#3B7021 #21702E #217055
triadic
#21702E #2E2170 #702E21
tetradic
#21702E #213B70 #702163 #705521
square
#21702E #213B70 #702163 #705521
split-complementary
#21702E #552170 #70213B
monochromatic
#07180A #13411B #21702E #2F9F41 #44C859

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21702E#FFFFFF#000000##FFFFFF
##21702E1.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)
#726628
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#066D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21702e;
/* rgb */ color: rgb(33, 112, 46);
/* oklch */ color: oklch(48.2% 0.126 146.0);
Tailwind
colors: {
  custom: {
    50: '#689a69',
    500: '#21702e',
    950: '#000000',
  },
}
SCSS
$custom: #21702e;
$custom-light: #689a69;
$custom-dark: #000000;
JSON
{
  "hex": "#21702e",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 129.873,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4818,
    "c": 0.12577,
    "h": 146
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#21702E
secondary
#A44995
accent
#4AC6DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21702E

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

Preview Lab → · Contrast checker → · Palette generator →

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