#229840#229840

#229840 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.162 H 147.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#229840
RGBrgb(34, 152, 64)
HSLhsl(135, 63%, 36%)
HSVhsv(135, 78%, 60%)
CMYKcmyk(77.6%, 0%, 57.9%, 40.4%)
CIE-LABlab(55.24, -50.71, 36.87)
CIE-LCHlch(55.24, 62.69, 143.98°)
OKLaboklab(59.73% -0.1364 0.0877)
OKLCHoklch(59.73% 0.162 147.3)
XYZxyz(12.8124, 23.1652, 8.6456)
Luminance0.2317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229840 #98227A
analogous
#3F9822 #229840 #22987B
triadic
#229840 #402298 #984022
tetradic
#229840 #223F98 #98227A #987B22
square
#229840 #223F98 #98227A #987B22
split-complementary
#229840 #7B2298 #98223F
monochromatic
#0C3416 #17662B #229840 #2DCA55 #5ADA7B

Accessibility & contrast

On white

3.73
#229840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#229840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229840
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229840#FFFFFF#000000##000000
##2298401.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #229840;
/* rgb */ color: rgb(34, 152, 64);
/* oklch */ color: oklch(59.7% 0.162 147.3);
Tailwind
colors: {
  custom: {
    50: '#71b777',
    500: '#229840',
    950: '#000000',
  },
}
SCSS
$custom: #229840;
$custom-light: #71b777;
$custom-dark: #000000;
JSON
{
  "hex": "#229840",
  "rgb": {
    "r": 34,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 135.254,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.16219,
    "h": 147.3
  },
  "luminance": 0.23167
}

Semantic roles & 50–950 ramp

primary
#229840
secondary
#BE57A4
accent
#41BCE6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #229840

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

Preview Lab → · Contrast checker → · Palette generator →

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