#22702F#22702F

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

Color values

HEX#22702F
RGBrgb(34, 112, 47)
HSLhsl(130, 53%, 29%)
HSVhsv(130, 70%, 44%)
CMYKcmyk(69.6%, 0%, 58%, 56.1%)
CIE-LABlab(41.43, -38.28, 29.04)
CIE-LCHlch(41.43, 48.05, 142.82°)
OKLaboklab(48.22% -0.1034 0.0693)
OKLCHoklch(48.22% 0.124 146.2)
XYZxyz(6.9665, 12.1329, 4.6635)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22702F #702263
analogous
#3C7022 #22702F #227056
triadic
#22702F #2F2270 #702F22
tetradic
#22702F #223C70 #702263 #705622
square
#22702F #223C70 #702263 #705622
split-complementary
#22702F #562270 #70223C
monochromatic
#07170A #14411B #22702F #309F43 #46C75B

Accessibility & contrast

On white

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

On black

3.43
#22702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##22702F#FFFFFF#000000##FFFFFF
##22702F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#086D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #22702f;
/* rgb */ color: rgb(34, 112, 47);
/* oklch */ color: oklch(48.2% 0.124 146.2);
Tailwind
colors: {
  custom: {
    50: '#689a69',
    500: '#22702f',
    950: '#000000',
  },
}
SCSS
$custom: #22702f;
$custom-light: #689a69;
$custom-dark: #000000;
JSON
{
  "hex": "#22702f",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 130,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.12444,
    "h": 146.2
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#22702F
secondary
#A34A95
accent
#4BC5DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #22702F

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

Preview Lab → · Contrast checker → · Palette generator →

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