#348F31#348F31

#348F31 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.157 H 142.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#348F31
RGBrgb(52, 143, 49)
HSLhsl(118, 49%, 38%)
HSVhsv(118, 66%, 56%)
CMYKcmyk(63.6%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.50, -45.90, 40.92)
CIE-LCHlch(52.50, 61.49, 138.28°)
OKLaboklab(57.53% -0.1248 0.095)
OKLCHoklch(57.53% 0.157 142.7)
XYZxyz(11.7924, 20.5956, 6.2590)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348F31 #8C318F
analogous
#638F31 #348F31 #318F5D
triadic
#348F31 #31348F #8F3134
tetradic
#348F31 #31638F #8C318F #8F5D31
square
#348F31 #31638F #8C318F #8F5D31
split-complementary
#348F31 #5D318F #8F3163
monochromatic
#133412 #236121 #348F31 #45BD41 #70CD6D

Accessibility & contrast

On white

4.10
#348F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#348F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348F31
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348F31#FFFFFF#000000##000000
##348F311.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928226
Deuteranopia (green-blind)
#877A39
Tritanopia (blue-blind)
#238B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #348f31;
/* rgb */ color: rgb(52, 143, 49);
/* oklch */ color: oklch(57.5% 0.157 142.7);
Tailwind
colors: {
  custom: {
    50: '#77b16d',
    500: '#348f31',
    950: '#000000',
  },
}
SCSS
$custom: #348f31;
$custom-light: #77b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#348f31",
  "rgb": {
    "r": 52,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 118.085,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.15686,
    "h": 142.7
  },
  "luminance": 0.20597
}

Semantic roles & 50–950 ramp

primary
#348F31
secondary
#B267B5
accent
#4FD9D4
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #348F31

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

Preview Lab → · Contrast checker → · Palette generator →

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