#229740#229740

#229740 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.5% C 0.161 H 147.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#229740
RGBrgb(34, 151, 64)
HSLhsl(135, 63%, 36%)
HSVhsv(135, 77%, 59%)
CMYKcmyk(77.5%, 0%, 57.6%, 40.8%)
CIE-LABlab(54.91, -50.36, 36.47)
CIE-LCHlch(54.91, 62.18, 144.08°)
OKLaboklab(59.45% -0.1355 0.0869)
OKLCHoklch(59.45% 0.161 147.3)
XYZxyz(12.6507, 22.8420, 8.5917)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229740 #972279
analogous
#3F9722 #229740 #22977B
triadic
#229740 #402297 #974022
tetradic
#229740 #223F97 #972279 #977B22
square
#229740 #223F97 #972279 #977B22
split-complementary
#229740 #7B2297 #97223F
monochromatic
#0C3316 #17652B #229740 #2DC955 #5ADA7A

Accessibility & contrast

On white

3.77
#229740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#229740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229740
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229740#FFFFFF#000000##000000
##2297401.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998938
Deuteranopia (green-blind)
#8C8047
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #229740;
/* rgb */ color: rgb(34, 151, 64);
/* oklch */ color: oklch(59.5% 0.161 147.3);
Tailwind
colors: {
  custom: {
    50: '#71b777',
    500: '#229740',
    950: '#000000',
  },
}
SCSS
$custom: #229740;
$custom-light: #71b777;
$custom-dark: #000000;
JSON
{
  "hex": "#229740",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 135.385,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59452,
    "c": 0.16092,
    "h": 147.3
  },
  "luminance": 0.22843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #229740

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

Preview Lab → · Contrast checker → · Palette generator →

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