#21701E#21701E

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

Color values

HEX#21701E
RGBrgb(33, 112, 30)
HSLhsl(118, 58%, 28%)
HSVhsv(118, 73%, 44%)
CMYKcmyk(70.5%, 0%, 73.2%, 56.1%)
CIE-LABlab(41.22, -40.57, 36.98)
CIE-LCHlch(41.22, 54.89, 137.65°)
OKLaboklab(47.99% -0.1103 0.0845)
OKLCHoklch(47.99% 0.139 142.6)
XYZxyz(6.6553, 12.0047, 3.1944)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21701E #6D1E70
analogous
#4A701E #21701E #1E7044
triadic
#21701E #1E2170 #701E21
tetradic
#21701E #1E4A70 #6D1E70 #70441E
square
#21701E #1E4A70 #6D1E70 #70441E
split-complementary
#21701E #441E70 #701E4A
monochromatic
#071806 #134011 #21701E #2FA02B #42CB3D

Accessibility & contrast

On white

6.17
#21701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21701E
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21701E#FFFFFF#000000##FFFFFF
##21701E1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21701e;
/* rgb */ color: rgb(33, 112, 30);
/* oklch */ color: oklch(48.0% 0.139 142.6);
Tailwind
colors: {
  custom: {
    50: '#699a5f',
    500: '#21701e',
    950: '#000000',
  },
}
SCSS
$custom: #21701e;
$custom-light: #699a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#21701e",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 117.805,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.13895,
    "h": 142.6
  },
  "luminance": 0.12005
}

Semantic roles & 50–950 ramp

primary
#21701E
secondary
#A146A4
accent
#47E1DB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21701E

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

Preview Lab → · Contrast checker → · Palette generator →

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