#21702F#21702F

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

Color values

HEX#21702F
RGBrgb(33, 112, 47)
HSLhsl(131, 54%, 28%)
HSVhsv(131, 71%, 44%)
CMYKcmyk(70.5%, 0%, 58%, 56.1%)
CIE-LABlab(41.40, -38.49, 29.00)
CIE-LCHlch(41.40, 48.19, 143.01°)
OKLaboklab(48.2% -0.1039 0.0692)
OKLCHoklch(48.2% 0.125 146.3)
XYZxyz(6.9340, 12.1162, 4.6620)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21702F #702162
analogous
#3A7021 #21702F #217056
triadic
#21702F #2F2170 #702F21
tetradic
#21702F #213A70 #702162 #705621
square
#21702F #213A70 #702162 #705621
split-complementary
#21702F #562170 #70213A
monochromatic
#07180A #13411B #21702F #2F9F43 #44C85B

Accessibility & contrast

On white

6.13
#21702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21702F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21702F#FFFFFF#000000##FFFFFF
##21702F1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#056D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21702f;
/* rgb */ color: rgb(33, 112, 47);
/* oklch */ color: oklch(48.2% 0.125 146.3);
Tailwind
colors: {
  custom: {
    50: '#689a69',
    500: '#21702f',
    950: '#000000',
  },
}
SCSS
$custom: #21702f;
$custom-light: #689a69;
$custom-dark: #000000;
JSON
{
  "hex": "#21702f",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 130.633,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.12484,
    "h": 146.3
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#21702F
secondary
#A44994
accent
#4AC4DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21702F

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

Preview Lab → · Contrast checker → · Palette generator →

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