#22942B#22942B

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

Color values

HEX#22942B
RGBrgb(34, 148, 43)
HSLhsl(125, 63%, 36%)
HSVhsv(125, 77%, 58%)
CMYKcmyk(77%, 0%, 70.9%, 42%)
CIE-LABlab(53.70, -51.81, 44.68)
CIE-LCHlch(53.70, 68.41, 139.23°)
OKLaboklab(58.38% -0.1402 0.1023)
OKLCHoklch(58.38% 0.174 143.9)
XYZxyz(11.6849, 21.6929, 5.8564)
Luminance0.2169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22942B #94228B
analogous
#529422 #22942B #229464
triadic
#22942B #2B2294 #942B22
tetradic
#22942B #225294 #94228B #946422
square
#22942B #225294 #94228B #946422
split-complementary
#22942B #642294 #942252
monochromatic
#0B300E #17621D #22942B #2DC639 #58D962

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #22942b;
/* rgb */ color: rgb(34, 148, 43);
/* oklch */ color: oklch(58.4% 0.174 143.9);
Tailwind
colors: {
  custom: {
    50: '#71b56a',
    500: '#22942b',
    950: '#000000',
  },
}
SCSS
$custom: #22942b;
$custom-light: #71b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#22942b",
  "rgb": {
    "r": 34,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 124.737,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58382,
    "c": 0.17357,
    "h": 143.9
  },
  "luminance": 0.21694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22942B

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

Preview Lab → · Contrast checker → · Palette generator →

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