#22702B#22702B

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

Color values

HEX#22702B
RGBrgb(34, 112, 43)
HSLhsl(127, 53%, 29%)
HSVhsv(127, 70%, 44%)
CMYKcmyk(69.6%, 0%, 61.6%, 56.1%)
CIE-LABlab(41.38, -38.84, 31.04)
CIE-LCHlch(41.38, 49.72, 141.37°)
OKLaboklab(48.17% -0.105 0.0733)
OKLCHoklch(48.17% 0.128 145.1)
XYZxyz(6.8895, 12.1021, 4.2579)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22702B #702267
analogous
#407022 #22702B #227052
triadic
#22702B #2B2270 #702B22
tetradic
#22702B #224070 #702267 #705222
square
#22702B #224070 #702267 #705222
split-complementary
#22702B #522270 #702240
monochromatic
#071709 #144119 #22702B #309F3D #46C755

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22702B#FFFFFF#000000##FFFFFF
##22702B1.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)
#726624
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#0B6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #22702b;
/* rgb */ color: rgb(34, 112, 43);
/* oklch */ color: oklch(48.2% 0.128 145.1);
Tailwind
colors: {
  custom: {
    50: '#689a67',
    500: '#22702b',
    950: '#000000',
  },
}
SCSS
$custom: #22702b;
$custom-light: #689a67;
$custom-dark: #000000;
JSON
{
  "hex": "#22702b",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 126.923,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48168,
    "c": 0.12811,
    "h": 145.1
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#22702B
secondary
#A34A99
accent
#4BCCDD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #22702B

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

Preview Lab → · Contrast checker → · Palette generator →

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