#348D1F#348D1F

#348D1F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.166 H 140.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#348D1F
RGBrgb(52, 141, 31)
HSLhsl(109, 64%, 34%)
HSVhsv(109, 78%, 55%)
CMYKcmyk(63.1%, 0%, 78%, 44.7%)
CIE-LABlab(51.70, -46.76, 47.35)
CIE-LCHlch(51.70, 66.55, 134.64°)
OKLaboklab(56.82% -0.1282 0.1061)
OKLCHoklch(56.82% 0.166 140.4)
XYZxyz(11.1878, 19.8777, 4.5433)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348D1F #781F8D
analogous
#6B8D1F #348D1F #1F8D41
triadic
#348D1F #1F348D #8D1F34
tetradic
#348D1F #1F6B8D #781F8D #8D411F
square
#348D1F #1F6B8D #781F8D #8D411F
split-complementary
#348D1F #411F8D #8D1F6B
monochromatic
#0F2909 #215B14 #348D1F #47BF2A #69D84E

Accessibility & contrast

On white

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

On black

4.98
#348D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348D1F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348D1F#FFFFFF#000000##000000
##348D1F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#278878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #348d1f;
/* rgb */ color: rgb(52, 141, 31);
/* oklch */ color: oklch(56.8% 0.166 140.4);
Tailwind
colors: {
  custom: {
    50: '#77af63',
    500: '#348d1f',
    950: '#000000',
  },
}
SCSS
$custom: #348d1f;
$custom-light: #77af63;
$custom-dark: #000000;
JSON
{
  "hex": "#348d1f",
  "rgb": {
    "r": 52,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 108.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56819,
    "c": 0.16642,
    "h": 140.4
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#348D1F
secondary
#A64DBB
accent
#41E7C7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #348D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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