#229F20#229F20

#229F20 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.4% C 0.192 H 142.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#229F20
RGBrgb(34, 159, 32)
HSLhsl(119, 66%, 37%)
HSVhsv(119, 80%, 62%)
CMYKcmyk(78.6%, 0%, 79.9%, 37.6%)
CIE-LABlab(57.31, -56.28, 52.30)
CIE-LCHlch(57.31, 76.83, 137.10°)
OKLaboklab(61.36% -0.1529 0.1167)
OKLCHoklch(61.36% 0.192 142.6)
XYZxyz(13.3177, 25.2391, 5.5360)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F20 #9D209F
analogous
#629F20 #229F20 #209F5D
triadic
#229F20 #20229F #9F2022
tetradic
#229F20 #20629F #9D209F #9F5D20
square
#229F20 #20629F #9D209F #9F5D20
split-complementary
#229F20 #5D209F #9F2062
monochromatic
#0C390B #176C16 #229F20 #2DD22A #5DDE5B

Accessibility & contrast

On white

3.47
#229F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#229F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229F20
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229F20#FFFFFF#000000##000000
##229F201.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#009A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229f20;
/* rgb */ color: rgb(34, 159, 32);
/* oklch */ color: oklch(61.4% 0.192 142.6);
Tailwind
colors: {
  custom: {
    50: '#74bd66',
    500: '#229f20',
    950: '#000000',
  },
}
SCSS
$custom: #229f20;
$custom-light: #74bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#229f20",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 119.055,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61358,
    "c": 0.19234,
    "h": 142.6
  },
  "luminance": 0.25241
}

Semantic roles & 50–950 ramp

primary
#229F20
secondary
#C159C2
accent
#3EE9E7
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #229F20

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

Preview Lab → · Contrast checker → · Palette generator →

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