#348C40#348C40

#348C40 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.140 H 145.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#348C40
RGBrgb(52, 140, 64)
HSLhsl(128, 46%, 38%)
HSVhsv(128, 63%, 55%)
CMYKcmyk(62.9%, 0%, 54.3%, 45.1%)
CIE-LABlab(51.67, -42.84, 32.69)
CIE-LCHlch(51.67, 53.88, 142.65°)
OKLaboklab(56.9% -0.1159 0.0785)
OKLCHoklch(56.9% 0.14 145.9)
XYZxyz(11.7189, 19.8553, 8.0644)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348C40 #8C3480
analogous
#548C34 #348C40 #348C6C
triadic
#348C40 #40348C #8C4034
tetradic
#348C40 #34548C #8C3480 #8C6C34
square
#348C40 #34548C #8C3480 #8C6C34
split-complementary
#348C40 #6C348C #8C3454
monochromatic
#133317 #235F2C #348C40 #45B954 #70CA7D

Accessibility & contrast

On white

4.22
#348C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#348C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348C40
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348C40#FFFFFF#000000##000000
##348C401.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8039
Deuteranopia (green-blind)
#837846
Tritanopia (blue-blind)
#1F897B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #348c40;
/* rgb */ color: rgb(52, 140, 64);
/* oklch */ color: oklch(56.9% 0.140 145.9);
Tailwind
colors: {
  custom: {
    50: '#75ae77',
    500: '#348c40',
    950: '#000000',
  },
}
SCSS
$custom: #348c40;
$custom-light: #75ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#348c40",
  "rgb": {
    "r": 52,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 128.182,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.56897,
    "c": 0.13995,
    "h": 145.9
  },
  "luminance": 0.19856
}

Semantic roles & 50–950 ramp

primary
#348C40
secondary
#B26AA8
accent
#52C4D5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #348C40

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

Preview Lab → · Contrast checker → · Palette generator →

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