#348D31#348D31

#348D31 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.154 H 142.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#348D31
RGBrgb(52, 141, 49)
HSLhsl(118, 48%, 37%)
HSVhsv(118, 65%, 55%)
CMYKcmyk(63.1%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.84, -45.14, 40.18)
CIE-LCHlch(51.84, 60.44, 138.33°)
OKLaboklab(56.98% -0.1228 0.0934)
OKLCHoklch(56.98% 0.154 142.7)
XYZxyz(11.4948, 20.0005, 6.1598)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348D31 #8A318D
analogous
#628D31 #348D31 #318D5C
triadic
#348D31 #31348D #8D3134
tetradic
#348D31 #31628D #8A318D #8D5C31
square
#348D31 #31628D #8A318D #8D5C31
split-complementary
#348D31 #5C318D #8D3162
monochromatic
#133211 #236021 #348D31 #45BA41 #6FCC6C

Accessibility & contrast

On white

4.20
#348D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#348D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348D31
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348D31#FFFFFF#000000##000000
##348D311.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#857939
Tritanopia (blue-blind)
#23897A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #348d31;
/* rgb */ color: rgb(52, 141, 49);
/* oklch */ color: oklch(57.0% 0.154 142.7);
Tailwind
colors: {
  custom: {
    50: '#76af6d',
    500: '#348d31',
    950: '#000000',
  },
}
SCSS
$custom: #348d31;
$custom-light: #76af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#348d31",
  "rgb": {
    "r": 52,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 118.043,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.56979,
    "c": 0.15428,
    "h": 142.7
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#348D31
secondary
#B166B4
accent
#50D8D4
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #348D31

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

Preview Lab → · Contrast checker → · Palette generator →

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