#348417#348417

#348417 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.160 H 139.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#348417
RGBrgb(52, 132, 23)
HSLhsl(104, 70%, 30%)
HSVhsv(104, 83%, 52%)
CMYKcmyk(60.6%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.63, -43.94, 47.05)
CIE-LCHlch(48.63, 64.38, 133.04°)
OKLaboklab(54.27% -0.121 0.1043)
OKLCHoklch(54.27% 0.16 139.2)
XYZxyz(9.8217, 17.2936, 3.6309)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348417 #671784
analogous
#6A8417 #348417 #178431
triadic
#348417 #173484 #841734
tetradic
#348417 #176A84 #671784 #843117
square
#348417 #176A84 #671784 #843117
split-complementary
#348417 #311784 #84176A
monochromatic
#0B1C05 #1F500E #348417 #49B820 #64DC39

Accessibility & contrast

On white

4.71
#348417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#348417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #348417
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348417#FFFFFF#000000##FFFFFF
##3484171.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#2B7F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #348417;
/* rgb */ color: rgb(52, 132, 23);
/* oklch */ color: oklch(54.3% 0.160 139.2);
Tailwind
colors: {
  custom: {
    50: '#76a85e',
    500: '#348417',
    950: '#000000',
  },
}
SCSS
$custom: #348417;
$custom-light: #76a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#348417",
  "rgb": {
    "r": 52,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 104.037,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.15978,
    "h": 139.2
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#348417
secondary
#983FB8
accent
#3BEDBE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #348417

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

Preview Lab → · Contrast checker → · Palette generator →

#348417 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva