#21711B#21711B

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

Color values

HEX#21711B
RGBrgb(33, 113, 27)
HSLhsl(116, 61%, 27%)
HSVhsv(116, 76%, 44%)
CMYKcmyk(70.8%, 0%, 76.1%, 55.7%)
CIE-LABlab(41.55, -41.21, 38.56)
CIE-LCHlch(41.55, 56.44, 136.91°)
OKLaboklab(48.26% -0.1122 0.0874)
OKLCHoklch(48.26% 0.142 142.1)
XYZxyz(6.7298, 12.2120, 3.0392)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21711B #6B1B71
analogous
#4C711B #21711B #1B7140
triadic
#21711B #1B2171 #711B21
tetradic
#21711B #1B4C71 #6B1B71 #71401B
square
#21711B #1B4C71 #6B1B71 #71401B
split-complementary
#21711B #401B71 #711B4C
monochromatic
#071906 #13400F #21711B #2FA227 #42CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #21711b;
/* rgb */ color: rgb(33, 113, 27);
/* oklch */ color: oklch(48.3% 0.142 142.1);
Tailwind
colors: {
  custom: {
    50: '#699b5d',
    500: '#21711b',
    950: '#000000',
  },
}
SCSS
$custom: #21711b;
$custom-light: #699b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#21711b",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 115.814,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.14224,
    "h": 142.1
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#21711B
secondary
#9F42A6
accent
#43E5D9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #21711B

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

Preview Lab → · Contrast checker → · Palette generator →

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