#348F40#348F40

#348F40 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.144 H 145.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#348F40
RGBrgb(52, 143, 64)
HSLhsl(128, 47%, 38%)
HSVhsv(128, 64%, 56%)
CMYKcmyk(63.6%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.67, -44.02, 33.89)
CIE-LCHlch(52.67, 55.55, 142.41°)
OKLaboklab(57.72% -0.1191 0.0811)
OKLCHoklch(57.72% 0.144 145.7)
XYZxyz(12.1633, 20.7440, 8.2125)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348F40 #8F3483
analogous
#558F34 #348F40 #348F6D
triadic
#348F40 #40348F #8F4034
tetradic
#348F40 #34558F #8F3483 #8F6D34
square
#348F40 #34558F #8F3483 #8F6D34
split-complementary
#348F40 #6D348F #8F3455
monochromatic
#133518 #24622C #348F40 #45BB54 #72CC7E

Accessibility & contrast

On white

4.08
#348F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#348F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348F40
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348F40#FFFFFF#000000##000000
##348F401.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#867B46
Tritanopia (blue-blind)
#1E8C7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #348f40;
/* rgb */ color: rgb(52, 143, 64);
/* oklch */ color: oklch(57.7% 0.144 145.7);
Tailwind
colors: {
  custom: {
    50: '#76b177',
    500: '#348f40',
    950: '#000000',
  },
}
SCSS
$custom: #348f40;
$custom-light: #76b177;
$custom-dark: #000000;
JSON
{
  "hex": "#348f40",
  "rgb": {
    "r": 52,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 127.912,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57718,
    "c": 0.14408,
    "h": 145.7
  },
  "luminance": 0.20745
}

Semantic roles & 50–950 ramp

primary
#348F40
secondary
#B46BAA
accent
#51C5D6
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #348F40

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

Preview Lab → · Contrast checker → · Palette generator →

#348F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva