#348318#348318

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

Color values

HEX#348318
RGBrgb(52, 131, 24)
HSLhsl(104, 69%, 30%)
HSVhsv(104, 82%, 51%)
CMYKcmyk(60.3%, 0%, 81.7%, 48.6%)
CIE-LABlab(48.30, -43.50, 46.43)
CIE-LCHlch(48.30, 63.62, 133.14°)
OKLaboklab(53.99% -0.1198 0.1032)
OKLCHoklch(53.99% 0.158 139.3)
XYZxyz(9.6969, 17.0278, 3.6397)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348318 #671883
analogous
#698318 #348318 #188331
triadic
#348318 #183483 #831834
tetradic
#348318 #186983 #671883 #833118
square
#348318 #186983 #671883 #833118
split-complementary
#348318 #311883 #831869
monochromatic
#0B1C05 #1F4F0F #348318 #49B721 #64DB3A

Accessibility & contrast

On white

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

On black

4.41
#348318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##348318#FFFFFF#000000##FFFFFF
##3483181.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #348318;
/* rgb */ color: rgb(52, 131, 24);
/* oklch */ color: oklch(54.0% 0.158 139.3);
Tailwind
colors: {
  custom: {
    50: '#76a85f',
    500: '#348318',
    950: '#000000',
  },
}
SCSS
$custom: #348318;
$custom-light: #76a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#348318",
  "rgb": {
    "r": 52,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 104.299,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.15809,
    "h": 139.3
  },
  "luminance": 0.17029
}

Semantic roles & 50–950 ramp

primary
#348318
secondary
#9840B7
accent
#3CECBE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #348318

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

Preview Lab → · Contrast checker → · Palette generator →

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