#21711C#21711C

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

Color values

HEX#21711C
RGBrgb(33, 113, 28)
HSLhsl(116, 60%, 28%)
HSVhsv(116, 75%, 44%)
CMYKcmyk(70.8%, 0%, 75.2%, 55.7%)
CIE-LABlab(41.56, -41.13, 38.16)
CIE-LCHlch(41.56, 56.10, 137.14°)
OKLaboklab(48.26% -0.1119 0.0867)
OKLCHoklch(48.26% 0.142 142.2)
XYZxyz(6.7415, 12.2167, 3.1012)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21711C #6C1C71
analogous
#4B711C #21711C #1C7142
triadic
#21711C #1C2171 #711C21
tetradic
#21711C #1C4B71 #6C1C71 #71421C
square
#21711C #1C4B71 #6C1C71 #71421C
split-complementary
#21711C #421C71 #711C4B
monochromatic
#071906 #134010 #21711C #2FA228 #42CE39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21711C#FFFFFF#000000##FFFFFF
##21711C1.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)
#74660E
Deuteranopia (green-blind)
#6A6025
Tritanopia (blue-blind)
#0E6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21711c;
/* rgb */ color: rgb(33, 113, 28);
/* oklch */ color: oklch(48.3% 0.142 142.2);
Tailwind
colors: {
  custom: {
    50: '#699b5e',
    500: '#21711c',
    950: '#000000',
  },
}
SCSS
$custom: #21711c;
$custom-light: #699b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#21711c",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 28
  },
  "hsl": {
    "h": 116.471,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48264,
    "c": 0.14158,
    "h": 142.2
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#21711C
secondary
#A043A6
accent
#44E3DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21711C

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

Preview Lab → · Contrast checker → · Palette generator →

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