#21701C#21701C

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

Color values

HEX#21701C
RGBrgb(33, 112, 28)
HSLhsl(116, 60%, 27%)
HSVhsv(116, 75%, 44%)
CMYKcmyk(70.5%, 0%, 75%, 56.1%)
CIE-LABlab(41.21, -40.76, 37.80)
CIE-LCHlch(41.21, 55.59, 137.15°)
OKLaboklab(47.97% -0.1109 0.0859)
OKLCHoklch(47.97% 0.14 142.2)
XYZxyz(6.6306, 11.9948, 3.0642)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21701C #6B1C70
analogous
#4B701C #21701C #1C7041
triadic
#21701C #1C2170 #701C21
tetradic
#21701C #1C4B70 #6B1C70 #70411C
square
#21701C #1C4B70 #6B1C70 #70411C
split-complementary
#21701C #411C70 #701C4B
monochromatic
#071806 #133F10 #21701C #2FA128 #42CD39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21701C#FFFFFF#000000##FFFFFF
##21701C1.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)
#73650E
Deuteranopia (green-blind)
#695F24
Tritanopia (blue-blind)
#0F6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #21701c;
/* rgb */ color: rgb(33, 112, 28);
/* oklch */ color: oklch(48.0% 0.140 142.2);
Tailwind
colors: {
  custom: {
    50: '#699a5e',
    500: '#21701c',
    950: '#000000',
  },
}
SCSS
$custom: #21701c;
$custom-light: #699a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#21701c",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 116.429,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.14033,
    "h": 142.2
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#21701C
secondary
#9F43A5
accent
#45E3DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21701C

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

Preview Lab → · Contrast checker → · Palette generator →

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