#229542#229542

#229542 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.157 H 147.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#229542
RGBrgb(34, 149, 66)
HSLhsl(137, 63%, 36%)
HSVhsv(137, 77%, 58%)
CMYKcmyk(77.2%, 0%, 55.7%, 41.6%)
CIE-LABlab(54.27, -49.36, 34.71)
CIE-LCHlch(54.27, 60.34, 144.88°)
OKLaboklab(58.93% -0.1327 0.0831)
OKLCHoklch(58.93% 0.157 147.9)
XYZxyz(12.3895, 22.2269, 8.7905)
Luminance0.2223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229542 #952275
analogous
#3B9522 #229542 #22957B
triadic
#229542 #422295 #954222
tetradic
#229542 #223B95 #952275 #957B22
square
#229542 #223B95 #952275 #957B22
split-complementary
#229542 #7B2295 #95223B
monochromatic
#0B3116 #17632C #229542 #2DC758 #58D97C

Accessibility & contrast

On white

3.86
#229542 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#229542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229542
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229542#FFFFFF#000000##000000
##2295421.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97873A
Deuteranopia (green-blind)
#897E48
Tritanopia (blue-blind)
#009282
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #229542;
/* rgb */ color: rgb(34, 149, 66);
/* oklch */ color: oklch(58.9% 0.157 147.9);
Tailwind
colors: {
  custom: {
    50: '#70b578',
    500: '#229542',
    950: '#000000',
  },
}
SCSS
$custom: #229542;
$custom-light: #70b578;
$custom-dark: #000000;
JSON
{
  "hex": "#229542",
  "rgb": {
    "r": 34,
    "g": 149,
    "b": 66
  },
  "hsl": {
    "h": 136.696,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58927,
    "c": 0.15661,
    "h": 147.9
  },
  "luminance": 0.22228
}

Semantic roles & 50–950 ramp

primary
#229542
secondary
#BD56A0
accent
#42B8E6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #229542

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

Preview Lab → · Contrast checker → · Palette generator →

#229542 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva