#34A228#34A228

#34A228 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.6% C 0.186 H 141.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#34A228
RGBrgb(52, 162, 40)
HSLhsl(114, 60%, 40%)
HSVhsv(114, 75%, 64%)
CMYKcmyk(67.9%, 0%, 75.3%, 36.5%)
CIE-LABlab(58.72, -53.55, 51.10)
CIE-LCHlch(58.72, 74.02, 136.34°)
OKLaboklab(62.65% -0.146 0.1152)
OKLCHoklch(62.65% 0.186 141.7)
XYZxyz(14.7187, 26.7224, 6.3893)
Luminance0.2672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34A228 #9628A2
analogous
#71A228 #34A228 #28A259
triadic
#34A228 #2834A2 #A22834
tetradic
#34A228 #2871A2 #9628A2 #A25928
square
#34A228 #2871A2 #9628A2 #A25928
split-complementary
#34A228 #5928A2 #A22871
monochromatic
#144010 #24711C #34A228 #48CE39 #75DA6A

Accessibility & contrast

On white

3.31
#34A228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#34A228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34A228
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34A228#FFFFFF#000000##000000
##34A2281.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6930F
Deuteranopia (green-blind)
#998A35
Tritanopia (blue-blind)
#1C9D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #34a228;
/* rgb */ color: rgb(52, 162, 40);
/* oklch */ color: oklch(62.6% 0.186 141.7);
Tailwind
colors: {
  custom: {
    50: '#7bbf6a',
    500: '#34a228',
    950: '#000000',
  },
}
SCSS
$custom: #34a228;
$custom-light: #7bbf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#34a228",
  "rgb": {
    "r": 52,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 114.098,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62649,
    "c": 0.18601,
    "h": 141.7
  },
  "luminance": 0.26724
}

Semantic roles & 50–950 ramp

primary
#34A228
secondary
#B865C1
accent
#44E4D4
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #34A228

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

Preview Lab → · Contrast checker → · Palette generator →

#34A228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva