#22742F#22742F

#22742F is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.130 H 145.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#22742F
RGBrgb(34, 116, 47)
HSLhsl(130, 55%, 29%)
HSVhsv(130, 71%, 45%)
CMYKcmyk(70.7%, 0%, 59.5%, 54.5%)
CIE-LABlab(42.82, -39.85, 30.69)
CIE-LCHlch(42.82, 50.29, 142.40°)
OKLaboklab(49.37% -0.1076 0.0729)
OKLCHoklch(49.37% 0.13 145.9)
XYZxyz(7.4177, 13.0353, 4.8139)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22742F #742267
analogous
#3E7422 #22742F #227458
triadic
#22742F #2F2274 #742F22
tetradic
#22742F #223E74 #742267 #745822
square
#22742F #223E74 #742267 #745822
split-complementary
#22742F #582274 #74223E
monochromatic
#07180A #14451C #22742F #30A342 #47C95C

Accessibility & contrast

On white

5.82
#22742F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#22742F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22742F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22742F#FFFFFF#000000##FFFFFF
##22742F1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766928
Deuteranopia (green-blind)
#6C6234
Tritanopia (blue-blind)
#057165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #22742f;
/* rgb */ color: rgb(34, 116, 47);
/* oklch */ color: oklch(49.4% 0.130 145.9);
Tailwind
colors: {
  custom: {
    50: '#699d6a',
    500: '#22742f',
    950: '#000000',
  },
}
SCSS
$custom: #22742f;
$custom-light: #699d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#22742f",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 47
  },
  "hsl": {
    "h": 129.512,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.12998,
    "h": 145.9
  },
  "luminance": 0.13036
}

Semantic roles & 50–950 ramp

primary
#22742F
secondary
#A74B98
accent
#4AC7DE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #22742F

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

Preview Lab → · Contrast checker → · Palette generator →

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