#21711A#21711A

#21711A is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.143 H 142.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#21711A
RGBrgb(33, 113, 26)
HSLhsl(115, 63%, 27%)
HSVhsv(115, 77%, 44%)
CMYKcmyk(70.8%, 0%, 77%, 55.7%)
CIE-LABlab(41.54, -41.30, 38.95)
CIE-LCHlch(41.54, 56.77, 136.68°)
OKLaboklab(48.25% -0.1125 0.088)
OKLCHoklch(48.25% 0.143 142)
XYZxyz(6.7184, 12.2075, 2.9793)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21711A #6A1A71
analogous
#4D711A #21711A #1A713E
triadic
#21711A #1A2171 #711A21
tetradic
#21711A #1A4D71 #6A1A71 #713E1A
square
#21711A #1A4D71 #6A1A71 #713E1A
split-complementary
#21711A #3E1A71 #711A4D
monochromatic
#071906 #123F0F #21711A #30A325 #41D035

Accessibility & contrast

On white

6.10
#21711A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#21711A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21711A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21711A#FFFFFF#000000##FFFFFF
##21711A1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746609
Deuteranopia (green-blind)
#6A6023
Tritanopia (blue-blind)
#0E6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21711a;
/* rgb */ color: rgb(33, 113, 26);
/* oklch */ color: oklch(48.2% 0.143 142.0);
Tailwind
colors: {
  custom: {
    50: '#699b5d',
    500: '#21711a',
    950: '#000000',
  },
}
SCSS
$custom: #21711a;
$custom-light: #699b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#21711a",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 26
  },
  "hsl": {
    "h": 115.172,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48247,
    "c": 0.14288,
    "h": 142
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#21711A
secondary
#9E41A6
accent
#42E6D8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #21711A

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

Preview Lab → · Contrast checker → · Palette generator →

#21711A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva