#229E2A#229E2A

#229E2A is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.2% C 0.186 H 143.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#229E2A
RGBrgb(34, 158, 42)
HSLhsl(124, 65%, 38%)
HSVhsv(124, 78%, 62%)
CMYKcmyk(78.5%, 0%, 73.4%, 38%)
CIE-LABlab(57.04, -55.20, 48.54)
CIE-LCHlch(57.04, 73.51, 138.67°)
OKLaboklab(61.15% -0.1495 0.1103)
OKLCHoklch(61.15% 0.186 143.6)
XYZxyz(13.3036, 24.9594, 6.3065)
Luminance0.2496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229E2A #9E2296
analogous
#589E22 #229E2A #229E68
triadic
#229E2A #2A229E #9E2A22
tetradic
#229E2A #22589E #9E2296 #9E6822
square
#229E2A #22589E #9E2296 #9E6822
split-complementary
#229E2A #68229E #9E2258
monochromatic
#0C390F #176C1D #229E2A #2DD037 #5EDC66

Accessibility & contrast

On white

3.50
#229E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#229E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229E2A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229E2A#FFFFFF#000000##000000
##229E2A1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F16
Deuteranopia (green-blind)
#948536
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #229e2a;
/* rgb */ color: rgb(34, 158, 42);
/* oklch */ color: oklch(61.2% 0.186 143.6);
Tailwind
colors: {
  custom: {
    50: '#74bc6b',
    500: '#229e2a',
    950: '#000000',
  },
}
SCSS
$custom: #229e2a;
$custom-light: #74bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#229e2a",
  "rgb": {
    "r": 34,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 123.871,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61151,
    "c": 0.18575,
    "h": 143.6
  },
  "luminance": 0.24961
}

Semantic roles & 50–950 ramp

primary
#229E2A
secondary
#C15BBA
accent
#40DDE8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #229E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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