#22702D#22702D

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

Color values

HEX#22702D
RGBrgb(34, 112, 45)
HSLhsl(128, 53%, 29%)
HSVhsv(128, 70%, 44%)
CMYKcmyk(69.6%, 0%, 59.8%, 56.1%)
CIE-LABlab(41.40, -38.57, 30.05)
CIE-LCHlch(41.40, 48.89, 142.08°)
OKLaboklab(48.2% -0.1042 0.0713)
OKLCHoklch(48.2% 0.126 145.6)
XYZxyz(6.9271, 12.1172, 4.4559)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22702D #702265
analogous
#3E7022 #22702D #227054
triadic
#22702D #2D2270 #702D22
tetradic
#22702D #223E70 #702265 #705422
square
#22702D #223E70 #702265 #705422
split-complementary
#22702D #542270 #70223E
monochromatic
#071709 #14411A #22702D #309F40 #46C758

Accessibility & contrast

On white

6.13
#22702D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #22702D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22702D#FFFFFF#000000##FFFFFF
##22702D1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22702d;
/* rgb */ color: rgb(34, 112, 45);
/* oklch */ color: oklch(48.2% 0.126 145.6);
Tailwind
colors: {
  custom: {
    50: '#689a68',
    500: '#22702d',
    950: '#000000',
  },
}
SCSS
$custom: #22702d;
$custom-light: #689a68;
$custom-dark: #000000;
JSON
{
  "hex": "#22702d",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 128.462,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.1263,
    "h": 145.6
  },
  "luminance": 0.12118
}

Semantic roles & 50–950 ramp

primary
#22702D
secondary
#A34A97
accent
#4BC8DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #22702D

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

Preview Lab → · Contrast checker → · Palette generator →

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