#229C42#229C42

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

Color values

HEX#229C42
RGBrgb(34, 156, 66)
HSLhsl(136, 64%, 37%)
HSVhsv(136, 78%, 61%)
CMYKcmyk(78.2%, 0%, 57.7%, 38.8%)
CIE-LABlab(56.59, -51.83, 37.49)
CIE-LCHlch(56.59, 63.97, 144.12°)
OKLaboklab(60.86% -0.1394 0.0892)
OKLCHoklch(60.86% 0.166 147.4)
XYZxyz(13.5305, 24.5088, 9.1708)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229C42 #9C227C
analogous
#3F9C22 #229C42 #229C7F
triadic
#229C42 #42229C #9C4222
tetradic
#229C42 #223F9C #9C227C #9C7F22
square
#229C42 #223F9C #9C227C #9C7F22
split-complementary
#229C42 #7F229C #9C223F
monochromatic
#0C3817 #176A2D #229C42 #2DCE57 #5DDC7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##229C42#FFFFFF#000000##000000
##229C421.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)
#9E8E39
Deuteranopia (green-blind)
#908449
Tritanopia (blue-blind)
#009888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #229c42;
/* rgb */ color: rgb(34, 156, 66);
/* oklch */ color: oklch(60.9% 0.166 147.4);
Tailwind
colors: {
  custom: {
    50: '#72ba79',
    500: '#229c42',
    950: '#000000',
  },
}
SCSS
$custom: #229c42;
$custom-light: #72ba79;
$custom-dark: #000000;
JSON
{
  "hex": "#229c42",
  "rgb": {
    "r": 34,
    "g": 156,
    "b": 66
  },
  "hsl": {
    "h": 135.738,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60856,
    "c": 0.16551,
    "h": 147.4
  },
  "luminance": 0.2451
}

Semantic roles & 50–950 ramp

primary
#229C42
secondary
#C05AA5
accent
#41BCE7
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #229C42

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

Preview Lab → · Contrast checker → · Palette generator →

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