#229842#229842

#229842 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.8% C 0.160 H 147.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#229842
RGBrgb(34, 152, 66)
HSLhsl(136, 63%, 36%)
HSVhsv(136, 78%, 60%)
CMYKcmyk(77.6%, 0%, 56.6%, 40.4%)
CIE-LABlab(55.27, -50.42, 35.91)
CIE-LCHlch(55.27, 61.90, 144.54°)
OKLaboklab(59.76% -0.1356 0.0858)
OKLCHoklch(59.76% 0.16 147.7)
XYZxyz(12.8703, 23.1884, 8.9507)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229842 #982278
analogous
#3D9822 #229842 #22987D
triadic
#229842 #422298 #984222
tetradic
#229842 #223D98 #982278 #987D22
square
#229842 #223D98 #982278 #987D22
split-complementary
#229842 #7D2298 #98223D
monochromatic
#0C3417 #17662C #229842 #2DCA58 #5ADA7D

Accessibility & contrast

On white

3.72
#229842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#229842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229842
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229842#FFFFFF#000000##000000
##2298421.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A3A
Deuteranopia (green-blind)
#8C8149
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #229842;
/* rgb */ color: rgb(34, 152, 66);
/* oklch */ color: oklch(59.8% 0.160 147.7);
Tailwind
colors: {
  custom: {
    50: '#71b779',
    500: '#229842',
    950: '#000000',
  },
}
SCSS
$custom: #229842;
$custom-light: #71b779;
$custom-dark: #000000;
JSON
{
  "hex": "#229842",
  "rgb": {
    "r": 34,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 136.271,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59755,
    "c": 0.16046,
    "h": 147.7
  },
  "luminance": 0.2319
}

Semantic roles & 50–950 ramp

primary
#229842
secondary
#BE57A2
accent
#41BAE6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #229842

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

Preview Lab → · Contrast checker → · Palette generator →

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