#348B1F#348B1F

#348B1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.164 H 140.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#348B1F
RGBrgb(52, 139, 31)
HSLhsl(108, 64%, 33%)
HSVhsv(108, 78%, 55%)
CMYKcmyk(62.6%, 0%, 77.7%, 45.5%)
CIE-LABlab(51.03, -46.03, 46.70)
CIE-LCHlch(51.03, 65.57, 134.59°)
OKLaboklab(56.27% -0.1262 0.1048)
OKLCHoklch(56.27% 0.164 140.3)
XYZxyz(10.8956, 19.2932, 4.4458)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348B1F #761F8B
analogous
#6A8B1F #348B1F #1F8B40
triadic
#348B1F #1F348B #8B1F34
tetradic
#348B1F #1F6A8B #761F8B #8B401F
square
#348B1F #1F6A8B #761F8B #8B401F
split-complementary
#348B1F #401F8B #8B1F6A
monochromatic
#0F2709 #215914 #348B1F #47BD2A #68D74D

Accessibility & contrast

On white

4.32
#348B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#348B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348B1F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348B1F#FFFFFF#000000##000000
##348B1F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#288677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #348b1f;
/* rgb */ color: rgb(52, 139, 31);
/* oklch */ color: oklch(56.3% 0.164 140.3);
Tailwind
colors: {
  custom: {
    50: '#77ae63',
    500: '#348b1f',
    950: '#000000',
  },
}
SCSS
$custom: #348b1f;
$custom-light: #77ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#348b1f",
  "rgb": {
    "r": 52,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 108.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.16402,
    "h": 140.3
  },
  "luminance": 0.19294
}

Semantic roles & 50–950 ramp

primary
#348B1F
secondary
#A54CBA
accent
#41E7C6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #348B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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