#229820#229820

#229820 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.4% C 0.185 H 142.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#229820
RGBrgb(34, 152, 32)
HSLhsl(119, 65%, 36%)
HSVhsv(119, 79%, 60%)
CMYKcmyk(77.6%, 0%, 78.9%, 40.4%)
CIE-LABlab(54.97, -54.04, 50.05)
CIE-LCHlch(54.97, 73.66, 137.20°)
OKLaboklab(59.41% -0.1468 0.112)
OKLCHoklch(59.41% 0.185 142.6)
XYZxyz(12.1479, 22.8994, 5.1460)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229820 #962098
analogous
#5E9820 #229820 #20985A
triadic
#229820 #202298 #982022
tetradic
#229820 #205E98 #962098 #985A20
square
#229820 #205E98 #962098 #985A20
split-complementary
#229820 #5A2098 #98205E
monochromatic
#0B330B #176515 #229820 #2DCB2B #59DC57

Accessibility & contrast

On white

3.76
#229820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#229820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229820
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229820#FFFFFF#000000##000000
##2298201.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #229820;
/* rgb */ color: rgb(34, 152, 32);
/* oklch */ color: oklch(59.4% 0.185 142.6);
Tailwind
colors: {
  custom: {
    50: '#73b765',
    500: '#229820',
    950: '#000000',
  },
}
SCSS
$custom: #229820;
$custom-light: #73b765;
$custom-dark: #000000;
JSON
{
  "hex": "#229820",
  "rgb": {
    "r": 34,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 119,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59413,
    "c": 0.18465,
    "h": 142.6
  },
  "luminance": 0.22901
}

Semantic roles & 50–950 ramp

primary
#229820
secondary
#BE54BF
accent
#40E8E5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #229820

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

Preview Lab → · Contrast checker → · Palette generator →

#229820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva