#229C40#229C40

#229C40 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.8% C 0.167 H 147.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#229C40
RGBrgb(34, 156, 64)
HSLhsl(135, 64%, 37%)
HSVhsv(135, 78%, 61%)
CMYKcmyk(78.2%, 0%, 59%, 38.8%)
CIE-LABlab(56.57, -52.11, 38.44)
CIE-LCHlch(56.57, 64.75, 143.59°)
OKLaboklab(60.83% -0.1402 0.0911)
OKLCHoklch(60.83% 0.167 147)
XYZxyz(13.4725, 24.4856, 8.8656)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229C40 #9C227E
analogous
#419C22 #229C40 #229C7D
triadic
#229C40 #40229C #9C4022
tetradic
#229C40 #22419C #9C227E #9C7D22
square
#229C40 #22419C #9C227E #9C7D22
split-complementary
#229C40 #7D229C #9C2241
monochromatic
#0C3817 #176A2B #229C40 #2DCE55 #5DDC7C

Accessibility & contrast

On white

3.56
#229C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#229C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229C40
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229C40#FFFFFF#000000##000000
##229C401.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D37
Deuteranopia (green-blind)
#908447
Tritanopia (blue-blind)
#009888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #229c40;
/* rgb */ color: rgb(34, 156, 64);
/* oklch */ color: oklch(60.8% 0.167 147.0);
Tailwind
colors: {
  custom: {
    50: '#72ba78',
    500: '#229c40',
    950: '#000000',
  },
}
SCSS
$custom: #229c40;
$custom-light: #72ba78;
$custom-dark: #000000;
JSON
{
  "hex": "#229c40",
  "rgb": {
    "r": 34,
    "g": 156,
    "b": 64
  },
  "hsl": {
    "h": 134.754,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60829,
    "c": 0.16721,
    "h": 147
  },
  "luminance": 0.24487
}

Semantic roles & 50–950 ramp

primary
#229C40
secondary
#C05AA7
accent
#41BEE7
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #229C40

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

Preview Lab → · Contrast checker → · Palette generator →

#229C40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva