#21701A#21701A

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

Color values

HEX#21701A
RGBrgb(33, 112, 26)
HSLhsl(115, 62%, 27%)
HSVhsv(115, 77%, 44%)
CMYKcmyk(70.5%, 0%, 76.8%, 56.1%)
CIE-LABlab(41.19, -40.93, 38.59)
CIE-LCHlch(41.19, 56.26, 136.69°)
OKLaboklab(47.96% -0.1115 0.0873)
OKLCHoklch(47.96% 0.142 141.9)
XYZxyz(6.6075, 11.9856, 2.9423)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21701A #691A70
analogous
#4C701A #21701A #1A703E
triadic
#21701A #1A2170 #701A21
tetradic
#21701A #1A4C70 #691A70 #703E1A
square
#21701A #1A4C70 #691A70 #703E1A
split-complementary
#21701A #3E1A70 #701A4C
monochromatic
#071906 #123E0E #21701A #30A226 #41D034

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #21701a;
/* rgb */ color: rgb(33, 112, 26);
/* oklch */ color: oklch(48.0% 0.142 141.9);
Tailwind
colors: {
  custom: {
    50: '#699a5d',
    500: '#21701a',
    950: '#000000',
  },
}
SCSS
$custom: #21701a;
$custom-light: #699a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#21701a",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 115.116,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47957,
    "c": 0.14163,
    "h": 141.9
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#21701A
secondary
#9D41A5
accent
#42E5D8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #21701A

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

Preview Lab → · Contrast checker → · Palette generator →

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