#22942F#22942F

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

Color values

HEX#22942F
RGBrgb(34, 148, 47)
HSLhsl(127, 63%, 36%)
HSVhsv(127, 77%, 58%)
CMYKcmyk(77%, 0%, 68.2%, 42%)
CIE-LABlab(53.73, -51.41, 43.03)
CIE-LCHlch(53.73, 67.04, 140.07°)
OKLaboklab(58.42% -0.1389 0.0993)
OKLCHoklch(58.42% 0.171 144.4)
XYZxyz(11.7619, 21.7238, 6.2620)
Luminance0.2172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22942F #942287
analogous
#4E9422 #22942F #229468
triadic
#22942F #2F2294 #942F22
tetradic
#22942F #224E94 #942287 #946822
square
#22942F #224E94 #942287 #946822
split-complementary
#22942F #682294 #94224E
monochromatic
#0B300F #17621F #22942F #2DC63F #58D966

Accessibility & contrast

On white

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

On black

5.35
#22942F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22942F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22942F#FFFFFF#000000##000000
##22942F1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #22942f;
/* rgb */ color: rgb(34, 148, 47);
/* oklch */ color: oklch(58.4% 0.171 144.4);
Tailwind
colors: {
  custom: {
    50: '#71b56d',
    500: '#22942f',
    950: '#000000',
  },
}
SCSS
$custom: #22942f;
$custom-light: #71b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#22942f",
  "rgb": {
    "r": 34,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 126.842,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5842,
    "c": 0.17078,
    "h": 144.4
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

primary
#22942F
secondary
#BD55B1
accent
#42D3E6
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #22942F

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

Preview Lab → · Contrast checker → · Palette generator →

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