#348112#348112

#348112 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.158 H 138.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#348112
RGBrgb(52, 129, 18)
HSLhsl(102, 76%, 29%)
HSVhsv(102, 86%, 51%)
CMYKcmyk(59.7%, 0%, 86%, 49.4%)
CIE-LABlab(47.59, -43.07, 47.55)
CIE-LCHlch(47.59, 64.16, 132.17°)
OKLaboklab(53.4% -0.119 0.1046)
OKLCHoklch(53.4% 0.158 138.7)
XYZxyz(9.3752, 16.4734, 3.2578)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348112 #5F1281
analogous
#6C8112 #348112 #128128
triadic
#348112 #123481 #811234
tetradic
#348112 #126C81 #5F1281 #812812
square
#348112 #126C81 #5F1281 #812812
split-complementary
#348112 #281281 #81126C
monochromatic
#0B1B04 #1E4B0B #348112 #4AB719 #64E22C

Accessibility & contrast

On white

4.89
#348112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#348112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #348112
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348112#FFFFFF#000000##FFFFFF
##3481121.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#2C7C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #348112;
/* rgb */ color: rgb(52, 129, 18);
/* oklch */ color: oklch(53.4% 0.158 138.7);
Tailwind
colors: {
  custom: {
    50: '#76a65c',
    500: '#348112',
    950: '#000000',
  },
}
SCSS
$custom: #348112;
$custom-light: #76a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#348112",
  "rgb": {
    "r": 52,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 101.622,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.534,
    "c": 0.15842,
    "h": 138.7
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#348112
secondary
#9038B7
accent
#36F2B8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #348112

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

Preview Lab → · Contrast checker → · Palette generator →

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