#34A142#34A142

#34A142 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.6% C 0.166 H 145.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#34A142
RGBrgb(52, 161, 66)
HSLhsl(128, 51%, 42%)
HSVhsv(128, 68%, 63%)
CMYKcmyk(67.7%, 0%, 59%, 36.9%)
CIE-LABlab(58.61, -50.55, 39.96)
CIE-LCHlch(58.61, 64.44, 141.67°)
OKLaboklab(62.64% -0.1366 0.0946)
OKLCHoklch(62.64% 0.166 145.3)
XYZxyz(15.1434, 26.6116, 9.4917)
Luminance0.2661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34A142 #A13493
analogous
#5DA134 #34A142 #34A179
triadic
#34A142 #4234A1 #A14234
tetradic
#34A142 #345DA1 #A13493 #A17934
square
#34A142 #345DA1 #A13493 #A17934
split-complementary
#34A142 #7934A1 #A1345D
monochromatic
#16441C #25732F #34A142 #4DC55C #7BD487

Accessibility & contrast

On white

3.32
#34A142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#34A142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34A142
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34A142#FFFFFF#000000##000000
##34A1421.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49238
Deuteranopia (green-blind)
#96894A
Tritanopia (blue-blind)
#129D8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #34a142;
/* rgb */ color: rgb(52, 161, 66);
/* oklch */ color: oklch(62.6% 0.166 145.3);
Tailwind
colors: {
  custom: {
    50: '#7abe79',
    500: '#34a142',
    950: '#000000',
  },
}
SCSS
$custom: #34a142;
$custom-light: #7abe79;
$custom-dark: #000000;
JSON
{
  "hex": "#34a142",
  "rgb": {
    "r": 52,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 127.706,
    "s": 51.174,
    "l": 41.765
  },
  "oklch": {
    "l": 0.62635,
    "c": 0.16616,
    "h": 145.3
  },
  "luminance": 0.26613
}

Semantic roles & 50–950 ramp

primary
#34A142
secondary
#BD74B4
accent
#4DC8DB
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #34A142

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

Preview Lab → · Contrast checker → · Palette generator →

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