#348317#348317

#348317 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.159 H 139.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#348317
RGBrgb(52, 131, 23)
HSLhsl(104, 70%, 30%)
HSVhsv(104, 82%, 51%)
CMYKcmyk(60.3%, 0%, 82.4%, 48.6%)
CIE-LABlab(48.29, -43.56, 46.74)
CIE-LCHlch(48.29, 63.89, 132.99°)
OKLaboklab(53.99% -0.12 0.1037)
OKLCHoklch(53.99% 0.159 139.2)
XYZxyz(9.6867, 17.0237, 3.5859)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348317 #661783
analogous
#6A8317 #348317 #178330
triadic
#348317 #173483 #831734
tetradic
#348317 #176A83 #661783 #833017
square
#348317 #176A83 #661783 #833017
split-complementary
#348317 #301783 #83176A
monochromatic
#0B1B05 #1F4F0E #348317 #49B720 #64DC38

Accessibility & contrast

On white

4.77
#348317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#348317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #348317
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348317#FFFFFF#000000##FFFFFF
##3483171.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#2B7E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #348317;
/* rgb */ color: rgb(52, 131, 23);
/* oklch */ color: oklch(54.0% 0.159 139.2);
Tailwind
colors: {
  custom: {
    50: '#76a85e',
    500: '#348317',
    950: '#000000',
  },
}
SCSS
$custom: #348317;
$custom-light: #76a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#348317",
  "rgb": {
    "r": 52,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 103.889,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53986,
    "c": 0.15858,
    "h": 139.2
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#348317
secondary
#973FB7
accent
#3BEDBD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #348317

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

Preview Lab → · Contrast checker → · Palette generator →

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