#21711F#21711F

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

Color values

HEX#21711F
RGBrgb(33, 113, 31)
HSLhsl(119, 57%, 28%)
HSVhsv(119, 73%, 44%)
CMYKcmyk(70.8%, 0%, 72.6%, 55.7%)
CIE-LABlab(41.58, -40.84, 36.92)
CIE-LCHlch(41.58, 55.06, 137.88°)
OKLaboklab(48.29% -0.111 0.0845)
OKLCHoklch(48.29% 0.14 142.7)
XYZxyz(6.7793, 12.2318, 3.2998)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21711F #6F1F71
analogous
#4A711F #21711F #1F7146
triadic
#21711F #1F2171 #711F21
tetradic
#21711F #1F4A71 #6F1F71 #71461F
square
#21711F #1F4A71 #6F1F71 #71461F
split-complementary
#21711F #461F71 #711F4A
monochromatic
#071807 #134112 #21711F #2FA12C #43CB40

Accessibility & contrast

On white

6.09
#21711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#21711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21711F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21711F#FFFFFF#000000##FFFFFF
##21711F1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#0D6E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21711f;
/* rgb */ color: rgb(33, 113, 31);
/* oklch */ color: oklch(48.3% 0.140 142.7);
Tailwind
colors: {
  custom: {
    50: '#699b60',
    500: '#21711f',
    950: '#000000',
  },
}
SCSS
$custom: #21711f;
$custom-light: #699b60;
$custom-dark: #000000;
JSON
{
  "hex": "#21711f",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 118.537,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48291,
    "c": 0.13951,
    "h": 142.7
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#21711F
secondary
#A347A5
accent
#48E0DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21711F

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

Preview Lab → · Contrast checker → · Palette generator →

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