#22702C#22702C

#22702C is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.127 H 145.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#22702C
RGBrgb(34, 112, 44)
HSLhsl(128, 53%, 29%)
HSVhsv(128, 70%, 44%)
CMYKcmyk(69.6%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.39, -38.71, 30.55)
CIE-LCHlch(41.39, 49.31, 141.72°)
OKLaboklab(48.18% -0.1046 0.0723)
OKLCHoklch(48.18% 0.127 145.3)
XYZxyz(6.9080, 12.1096, 4.3557)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22702C #702266
analogous
#3F7022 #22702C #227053
triadic
#22702C #2C2270 #702C22
tetradic
#22702C #223F70 #702266 #705322
square
#22702C #223F70 #702266 #705322
split-complementary
#22702C #532270 #70223F
monochromatic
#071709 #14411A #22702C #309F3E #46C756

Accessibility & contrast

On white

6.14
#22702C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#22702C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22702C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22702C#FFFFFF#000000##FFFFFF
##22702C1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726625
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#0A6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #22702c;
/* rgb */ color: rgb(34, 112, 44);
/* oklch */ color: oklch(48.2% 0.127 145.3);
Tailwind
colors: {
  custom: {
    50: '#689a67',
    500: '#22702c',
    950: '#000000',
  },
}
SCSS
$custom: #22702c;
$custom-light: #689a67;
$custom-dark: #000000;
JSON
{
  "hex": "#22702c",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 127.692,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48182,
    "c": 0.12721,
    "h": 145.3
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#22702C
secondary
#A34A98
accent
#4BCADD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #22702C

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

Preview Lab → · Contrast checker → · Palette generator →

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