#21703F#21703F

#21703F is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.5% C 0.109 H 152.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#21703F
RGBrgb(33, 112, 63)
HSLhsl(143, 54%, 28%)
HSVhsv(143, 71%, 44%)
CMYKcmyk(70.5%, 0%, 43.7%, 56.1%)
CIE-LABlab(41.64, -35.75, 20.49)
CIE-LCHlch(41.64, 41.20, 150.18°)
OKLaboklab(48.47% -0.0964 0.0508)
OKLCHoklch(48.47% 0.109 152.2)
XYZxyz(7.3180, 12.2698, 6.6843)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21703F #702152
analogous
#2A7021 #21703F #217066
triadic
#21703F #3F2170 #703F21
tetradic
#21703F #212A70 #702152 #706621
square
#21703F #212A70 #702152 #706621
split-complementary
#21703F #662170 #70212A
monochromatic
#07180D #134124 #21703F #2F9F5A #44C876

Accessibility & contrast

On white

6.08
#21703F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#21703F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21703F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21703F#FFFFFF#000000##FFFFFF
##21703F1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663B
Deuteranopia (green-blind)
#665F42
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #21703f;
/* rgb */ color: rgb(33, 112, 63);
/* oklch */ color: oklch(48.5% 0.109 152.2);
Tailwind
colors: {
  custom: {
    50: '#679a74',
    500: '#21703f',
    950: '#000000',
  },
}
SCSS
$custom: #21703f;
$custom-light: #679a74;
$custom-dark: #000000;
JSON
{
  "hex": "#21703f",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 63
  },
  "hsl": {
    "h": 142.785,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48473,
    "c": 0.10899,
    "h": 152.2
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#21703F
secondary
#A44981
accent
#4AA6DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #21703F

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

Preview Lab → · Contrast checker → · Palette generator →

#21703F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva