#348D17#348D17

#348D17 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.170 H 139.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#348D17
RGBrgb(52, 141, 23)
HSLhsl(105, 72%, 32%)
HSVhsv(105, 84%, 55%)
CMYKcmyk(63.1%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.66, -47.26, 49.86)
CIE-LCHlch(51.66, 68.70, 133.47°)
OKLaboklab(56.77% -0.1299 0.1102)
OKLCHoklch(56.77% 0.17 139.7)
XYZxyz(11.0952, 19.8406, 4.0554)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348D17 #70178D
analogous
#6F8D17 #348D17 #178D35
triadic
#348D17 #17348D #8D1734
tetradic
#348D17 #176F8D #70178D #8D3517
square
#348D17 #176F8D #70178D #8D3517
split-complementary
#348D17 #35178D #8D176F
monochromatic
#0D2406 #21580E #348D17 #47C220 #66E03F

Accessibility & contrast

On white

4.23
#348D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#348D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348D17
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348D17#FFFFFF#000000##000000
##348D171.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#288878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #348d17;
/* rgb */ color: rgb(52, 141, 23);
/* oklch */ color: oklch(56.8% 0.170 139.7);
Tailwind
colors: {
  custom: {
    50: '#78af60',
    500: '#348d17',
    950: '#000000',
  },
}
SCSS
$custom: #348d17;
$custom-light: #78af60;
$custom-dark: #000000;
JSON
{
  "hex": "#348d17",
  "rgb": {
    "r": 52,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 105.254,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.17038,
    "h": 139.7
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#348D17
secondary
#A040C0
accent
#39EFC2
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #348D17

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

Preview Lab → · Contrast checker → · Palette generator →

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