#22942A#22942A

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

Color values

HEX#22942A
RGBrgb(34, 148, 42)
HSLhsl(124, 63%, 36%)
HSVhsv(124, 77%, 58%)
CMYKcmyk(77%, 0%, 71.6%, 42%)
CIE-LABlab(53.69, -51.91, 45.08)
CIE-LCHlch(53.69, 68.75, 139.03°)
OKLaboklab(58.37% -0.1405 0.103)
OKLCHoklch(58.37% 0.174 143.8)
XYZxyz(11.6667, 21.6857, 5.7609)
Luminance0.2169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22942A #94228C
analogous
#539422 #22942A #229463
triadic
#22942A #2A2294 #942A22
tetradic
#22942A #225394 #94228C #946322
square
#22942A #225394 #94228C #946322
split-complementary
#22942A #632294 #942253
monochromatic
#0B300E #17621C #22942A #2DC638 #58D961

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22942A#FFFFFF#000000##000000
##22942A1.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)
#97861A
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #22942a;
/* rgb */ color: rgb(34, 148, 42);
/* oklch */ color: oklch(58.4% 0.174 143.8);
Tailwind
colors: {
  custom: {
    50: '#71b56a',
    500: '#22942a',
    950: '#000000',
  },
}
SCSS
$custom: #22942a;
$custom-light: #71b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#22942a",
  "rgb": {
    "r": 34,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 124.211,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.17423,
    "h": 143.8
  },
  "luminance": 0.21687
}

Semantic roles & 50–950 ramp

primary
#22942A
secondary
#BD55B5
accent
#42DAE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #22942A

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

Preview Lab → · Contrast checker → · Palette generator →

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