#229A2F#229A2F

#229A2F is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.1% C 0.178 H 144.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#229A2F
RGBrgb(34, 154, 47)
HSLhsl(127, 64%, 37%)
HSVhsv(127, 78%, 60%)
CMYKcmyk(77.9%, 0%, 69.5%, 39.6%)
CIE-LABlab(55.74, -53.42, 45.19)
CIE-LCHlch(55.74, 69.97, 139.77°)
OKLaboklab(60.09% -0.1444 0.1039)
OKLCHoklch(60.09% 0.178 144.3)
XYZxyz(12.7275, 23.6550, 6.5839)
Luminance0.2366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229A2F #9A228D
analogous
#519A22 #229A2F #229A6B
triadic
#229A2F #2F229A #9A2F22
tetradic
#229A2F #22519A #9A228D #9A6B22
square
#229A2F #22519A #9A228D #9A6B22
split-complementary
#229A2F #6B229A #9A2251
monochromatic
#0C3610 #176820 #229A2F #2DCC3E #5BDB69

Accessibility & contrast

On white

3.66
#229A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#229A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229A2F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229A2F#FFFFFF#000000##000000
##229A2F1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B20
Deuteranopia (green-blind)
#908239
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #229a2f;
/* rgb */ color: rgb(34, 154, 47);
/* oklch */ color: oklch(60.1% 0.178 144.3);
Tailwind
colors: {
  custom: {
    50: '#72b96d',
    500: '#229a2f',
    950: '#000000',
  },
}
SCSS
$custom: #229a2f;
$custom-light: #72b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#229a2f",
  "rgb": {
    "r": 34,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 126.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60087,
    "c": 0.17788,
    "h": 144.3
  },
  "luminance": 0.23657
}

Semantic roles & 50–950 ramp

primary
#229A2F
secondary
#BF58B4
accent
#41D5E7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #229A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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