#22702A#22702A

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

Color values

HEX#22702A
RGBrgb(34, 112, 42)
HSLhsl(126, 53%, 29%)
HSVhsv(126, 70%, 44%)
CMYKcmyk(69.6%, 0%, 62.5%, 56.1%)
CIE-LABlab(41.37, -38.98, 31.53)
CIE-LCHlch(41.37, 50.14, 141.03°)
OKLaboklab(48.16% -0.1054 0.0743)
OKLCHoklch(48.16% 0.129 144.8)
XYZxyz(6.8713, 12.0949, 4.1625)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22702A #702268
analogous
#417022 #22702A #227051
triadic
#22702A #2A2270 #702A22
tetradic
#22702A #224170 #702268 #705122
square
#22702A #224170 #702268 #705122
split-complementary
#22702A #512270 #702241
monochromatic
#071709 #144118 #22702A #309F3C #46C753

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22702A#FFFFFF#000000##FFFFFF
##22702A1.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)
#726623
Deuteranopia (green-blind)
#695F30
Tritanopia (blue-blind)
#0B6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #22702a;
/* rgb */ color: rgb(34, 112, 42);
/* oklch */ color: oklch(48.2% 0.129 144.8);
Tailwind
colors: {
  custom: {
    50: '#689a66',
    500: '#22702a',
    950: '#000000',
  },
}
SCSS
$custom: #22702a;
$custom-light: #689a66;
$custom-dark: #000000;
JSON
{
  "hex": "#22702a",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 126.154,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48155,
    "c": 0.129,
    "h": 144.8
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#22702A
secondary
#A34A9A
accent
#4BCEDD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #22702A

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

Preview Lab → · Contrast checker → · Palette generator →

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