#348F1F#348F1F

#348F1F is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.169 H 140.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#348F1F
RGBrgb(52, 143, 31)
HSLhsl(109, 64%, 34%)
HSVhsv(109, 78%, 56%)
CMYKcmyk(63.6%, 0%, 78.3%, 43.9%)
CIE-LABlab(52.37, -47.49, 48.01)
CIE-LCHlch(52.37, 67.53, 134.69°)
OKLaboklab(57.37% -0.1302 0.1075)
OKLCHoklch(57.37% 0.169 140.4)
XYZxyz(11.4854, 20.4728, 4.6424)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348F1F #7A1F8F
analogous
#6C8F1F #348F1F #1F8F42
triadic
#348F1F #1F348F #8F1F34
tetradic
#348F1F #1F6C8F #7A1F8F #8F421F
square
#348F1F #1F6C8F #7A1F8F #8F421F
split-complementary
#348F1F #421F8F #8F1F6C
monochromatic
#0F2A09 #225D14 #348F1F #46C12A #69D94F

Accessibility & contrast

On white

4.12
#348F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#348F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348F1F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348F1F#FFFFFF#000000##000000
##348F1F1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#268A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #348f1f;
/* rgb */ color: rgb(52, 143, 31);
/* oklch */ color: oklch(57.4% 0.169 140.4);
Tailwind
colors: {
  custom: {
    50: '#78b164',
    500: '#348f1f',
    950: '#000000',
  },
}
SCSS
$custom: #348f1f;
$custom-light: #78b164;
$custom-dark: #000000;
JSON
{
  "hex": "#348f1f",
  "rgb": {
    "r": 52,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 108.75,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57373,
    "c": 0.16881,
    "h": 140.4
  },
  "luminance": 0.20474
}

Semantic roles & 50–950 ramp

primary
#348F1F
secondary
#A74EBC
accent
#40E7C8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #348F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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