#348A1F#348A1F

#348A1F is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.163 H 140.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#348A1F
RGBrgb(52, 138, 31)
HSLhsl(108, 63%, 33%)
HSVhsv(108, 78%, 54%)
CMYKcmyk(62.3%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.69, -45.66, 46.37)
CIE-LCHlch(50.69, 65.07, 134.56°)
OKLaboklab(55.99% -0.1252 0.1041)
OKLCHoklch(55.99% 0.163 140.3)
XYZxyz(10.7515, 19.0050, 4.3978)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348A1F #751F8A
analogous
#698A1F #348A1F #1F8A3F
triadic
#348A1F #1F348A #8A1F34
tetradic
#348A1F #1F698A #751F8A #8A3F1F
square
#348A1F #1F698A #751F8A #8A3F1F
split-complementary
#348A1F #3F1F8A #8A1F69
monochromatic
#0E2609 #215814 #348A1F #47BC2A #68D74C

Accessibility & contrast

On white

4.37
#348A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#348A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348A1F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348A1F#FFFFFF#000000##000000
##348A1F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#288576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #348a1f;
/* rgb */ color: rgb(52, 138, 31);
/* oklch */ color: oklch(56.0% 0.163 140.3);
Tailwind
colors: {
  custom: {
    50: '#77ad63',
    500: '#348a1f',
    950: '#000000',
  },
}
SCSS
$custom: #348a1f;
$custom-light: #77ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#348a1f",
  "rgb": {
    "r": 52,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 108.224,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.16281,
    "h": 140.3
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#348A1F
secondary
#A44BBA
accent
#41E6C6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #348A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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