#22942D#22942D

#22942D is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.4% C 0.172 H 144.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#22942D
RGBrgb(34, 148, 45)
HSLhsl(126, 63%, 36%)
HSVhsv(126, 77%, 58%)
CMYKcmyk(77%, 0%, 69.6%, 42%)
CIE-LABlab(53.72, -51.62, 43.86)
CIE-LCHlch(53.72, 67.74, 139.64°)
OKLaboklab(58.4% -0.1396 0.1008)
OKLCHoklch(58.4% 0.172 144.2)
XYZxyz(11.7225, 21.7080, 6.0544)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22942D #942289
analogous
#509422 #22942D #229466
triadic
#22942D #2D2294 #942D22
tetradic
#22942D #225094 #942289 #946622
square
#22942D #225094 #942289 #946622
split-complementary
#22942D #662294 #942250
monochromatic
#0B300F #17621E #22942D #2DC63C #58D964

Accessibility & contrast

On white

3.93
#22942D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#22942D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22942D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22942D#FFFFFF#000000##000000
##22942D1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #22942d;
/* rgb */ color: rgb(34, 148, 45);
/* oklch */ color: oklch(58.4% 0.172 144.2);
Tailwind
colors: {
  custom: {
    50: '#71b56b',
    500: '#22942d',
    950: '#000000',
  },
}
SCSS
$custom: #22942d;
$custom-light: #71b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#22942d",
  "rgb": {
    "r": 34,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 125.789,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.584,
    "c": 0.1722,
    "h": 144.2
  },
  "luminance": 0.21709
}

Semantic roles & 50–950 ramp

primary
#22942D
secondary
#BD55B3
accent
#42D6E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #22942D

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

Preview Lab → · Contrast checker → · Palette generator →

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