#22942C#22942C

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

Color values

HEX#22942C
RGBrgb(34, 148, 44)
HSLhsl(125, 63%, 36%)
HSVhsv(125, 77%, 58%)
CMYKcmyk(77%, 0%, 70.3%, 42%)
CIE-LABlab(53.71, -51.72, 44.27)
CIE-LCHlch(53.71, 68.08, 139.43°)
OKLaboklab(58.39% -0.1399 0.1016)
OKLCHoklch(58.39% 0.173 144)
XYZxyz(11.7034, 21.7004, 5.9542)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22942C #94228A
analogous
#519422 #22942C #229465
triadic
#22942C #2C2294 #942C22
tetradic
#22942C #225194 #94228A #946522
square
#22942C #225194 #94228A #946522
split-complementary
#22942C #652294 #942251
monochromatic
#0B300E #17621D #22942C #2DC63B #58D963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #22942c;
/* rgb */ color: rgb(34, 148, 44);
/* oklch */ color: oklch(58.4% 0.173 144.0);
Tailwind
colors: {
  custom: {
    50: '#71b56b',
    500: '#22942c',
    950: '#000000',
  },
}
SCSS
$custom: #22942c;
$custom-light: #71b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#22942c",
  "rgb": {
    "r": 34,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 125.263,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58391,
    "c": 0.17288,
    "h": 144
  },
  "luminance": 0.21702
}

Semantic roles & 50–950 ramp

primary
#22942C
secondary
#BD55B4
accent
#42D7E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #22942C

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

Preview Lab → · Contrast checker → · Palette generator →

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