#21701D#21701D

#21701D is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.140 H 142.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#21701D
RGBrgb(33, 112, 29)
HSLhsl(117, 59%, 28%)
HSVhsv(117, 74%, 44%)
CMYKcmyk(70.5%, 0%, 74.1%, 56.1%)
CIE-LABlab(41.22, -40.66, 37.39)
CIE-LCHlch(41.22, 55.24, 137.40°)
OKLaboklab(47.98% -0.1106 0.0852)
OKLCHoklch(47.98% 0.14 142.4)
XYZxyz(6.6428, 11.9997, 3.1283)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21701D #6C1D70
analogous
#4B701D #21701D #1D7042
triadic
#21701D #1D2170 #701D21
tetradic
#21701D #1D4B70 #6C1D70 #70421D
square
#21701D #1D4B70 #6C1D70 #70421D
split-complementary
#21701D #421D70 #701D4B
monochromatic
#071806 #133F10 #21701D #2FA12A #42CC3B

Accessibility & contrast

On white

6.18
#21701D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#21701D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21701D
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21701D#FFFFFF#000000##FFFFFF
##21701D1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736510
Deuteranopia (green-blind)
#695F25
Tritanopia (blue-blind)
#0E6D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #21701d;
/* rgb */ color: rgb(33, 112, 29);
/* oklch */ color: oklch(48.0% 0.140 142.4);
Tailwind
colors: {
  custom: {
    50: '#699a5e',
    500: '#21701d',
    950: '#000000',
  },
}
SCSS
$custom: #21701d;
$custom-light: #699a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#21701d",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 117.108,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47983,
    "c": 0.13965,
    "h": 142.4
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

primary
#21701D
secondary
#A044A4
accent
#46E2DB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21701D

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

Preview Lab → · Contrast checker → · Palette generator →

#21701D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva