#348312#348312

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

Color values

HEX#348312
RGBrgb(52, 131, 18)
HSLhsl(102, 76%, 29%)
HSVhsv(102, 86%, 51%)
CMYKcmyk(60.3%, 0%, 86.3%, 48.6%)
CIE-LABlab(48.27, -43.83, 48.16)
CIE-LCHlch(48.27, 65.11, 132.30°)
OKLaboklab(53.96% -0.121 0.1059)
OKLCHoklch(53.96% 0.161 138.8)
XYZxyz(9.6413, 17.0055, 3.3465)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348312 #611283
analogous
#6D8312 #348312 #128329
triadic
#348312 #123483 #831234
tetradic
#348312 #126D83 #611283 #832912
square
#348312 #126D83 #611283 #832912
split-complementary
#348312 #291283 #83126D
monochromatic
#0B1B04 #1F4D0B #348312 #49B919 #64E22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##348312#FFFFFF#000000##FFFFFF
##3483121.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)
#7D7021
Tritanopia (blue-blind)
#2B7E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #348312;
/* rgb */ color: rgb(52, 131, 18);
/* oklch */ color: oklch(54.0% 0.161 138.8);
Tailwind
colors: {
  custom: {
    50: '#76a85c',
    500: '#348312',
    950: '#000000',
  },
}
SCSS
$custom: #348312;
$custom-light: #76a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#348312",
  "rgb": {
    "r": 52,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 101.947,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.16078,
    "h": 138.8
  },
  "luminance": 0.17006
}

Semantic roles & 50–950 ramp

primary
#348312
secondary
#9238B8
accent
#35F2BA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #348312

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

Preview Lab → · Contrast checker → · Palette generator →

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