#34A22C#34A22C

#34A22C is a light, vivid green. Relative luminance 0.268; OKLCH L 62.7% C 0.184 H 142.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#34A22C
RGBrgb(52, 162, 44)
HSLhsl(116, 57%, 40%)
HSVhsv(116, 73%, 64%)
CMYKcmyk(67.9%, 0%, 72.8%, 36.5%)
CIE-LABlab(58.74, -53.23, 49.65)
CIE-LCHlch(58.74, 72.79, 137.00°)
OKLaboklab(62.68% -0.145 0.1127)
OKLCHoklch(62.68% 0.184 142.1)
XYZxyz(14.7903, 26.7510, 6.7664)
Luminance0.2675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34A22C #9A2CA2
analogous
#6FA22C #34A22C #2CA25F
triadic
#34A22C #2C34A2 #A22C34
tetradic
#34A22C #2C6FA2 #9A2CA2 #A25F2C
square
#34A22C #2C6FA2 #9A2CA2 #A25F2C
split-complementary
#34A22C #5F2CA2 #A22C6F
monochromatic
#154212 #25721F #34A22C #49CB40 #77D870

Accessibility & contrast

On white

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

On black

6.35
#34A22C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34A22C
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34A22C#FFFFFF#000000##000000
##34A22C1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69318
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#1B9D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #34a22c;
/* rgb */ color: rgb(52, 162, 44);
/* oklch */ color: oklch(62.7% 0.184 142.1);
Tailwind
colors: {
  custom: {
    50: '#7bbf6c',
    500: '#34a22c',
    950: '#000000',
  },
}
SCSS
$custom: #34a22c;
$custom-light: #7bbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#34a22c",
  "rgb": {
    "r": 52,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 115.932,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62679,
    "c": 0.18363,
    "h": 142.1
  },
  "luminance": 0.26753
}

Semantic roles & 50–950 ramp

primary
#34A22C
secondary
#BA6ABF
accent
#47E1D6
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #34A22C

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

Preview Lab → · Contrast checker → · Palette generator →

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