#348540#348540

#348540 is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.0% C 0.130 H 146.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#348540
RGBrgb(52, 133, 64)
HSLhsl(129, 44%, 36%)
HSVhsv(129, 61%, 52%)
CMYKcmyk(60.9%, 0%, 51.9%, 47.8%)
CIE-LABlab(49.34, -40.01, 29.83)
CIE-LCHlch(49.34, 49.91, 143.29°)
OKLaboklab(54.98% -0.1083 0.0721)
OKLCHoklch(54.98% 0.13 146.3)
XYZxyz(10.7284, 17.8743, 7.7342)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348540 #853479
analogous
#518534 #348540 #348569
triadic
#348540 #403485 #854034
tetradic
#348540 #345185 #853479 #856934
square
#348540 #345185 #853479 #856934
split-complementary
#348540 #693485 #853451
monochromatic
#122D16 #23592B #348540 #45B155 #6DC67A

Accessibility & contrast

On white

4.59
#348540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#348540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #348540
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348540#FFFFFF#000000##FFFFFF
##3485401.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A3A
Deuteranopia (green-blind)
#7C7245
Tritanopia (blue-blind)
#228275
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #348540;
/* rgb */ color: rgb(52, 133, 64);
/* oklch */ color: oklch(55.0% 0.130 146.3);
Tailwind
colors: {
  custom: {
    50: '#74a976',
    500: '#348540',
    950: '#000000',
  },
}
SCSS
$custom: #348540;
$custom-light: #74a976;
$custom-dark: #000000;
JSON
{
  "hex": "#348540",
  "rgb": {
    "r": 52,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 128.889,
    "s": 43.784,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54978,
    "c": 0.13009,
    "h": 146.3
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#348540
secondary
#AE67A4
accent
#54C1D4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #348540

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

Preview Lab → · Contrast checker → · Palette generator →

#348540 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva