#348138#348138

#348138 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.8% C 0.132 H 144.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#348138
RGBrgb(52, 129, 56)
HSLhsl(123, 43%, 35%)
HSVhsv(123, 60%, 51%)
CMYKcmyk(59.7%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.90, -39.54, 32.24)
CIE-LCHlch(47.90, 51.02, 140.81°)
OKLaboklab(53.76% -0.1073 0.0769)
OKLCHoklch(53.76% 0.132 144.4)
XYZxyz(9.9797, 16.7152, 6.4411)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348138 #81347D
analogous
#568134 #348138 #34815E
triadic
#348138 #383481 #813834
tetradic
#348138 #345681 #81347D #815E34
square
#348138 #345681 #81347D #815E34
split-complementary
#348138 #5E3481 #813456
monochromatic
#112A12 #225525 #348138 #46AD4B #6CC470

Accessibility & contrast

On white

4.84
#348138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#348138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #348138
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348138#FFFFFF#000000##FFFFFF
##3481381.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837631
Deuteranopia (green-blind)
#796F3D
Tritanopia (blue-blind)
#267E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #348138;
/* rgb */ color: rgb(52, 129, 56);
/* oklch */ color: oklch(53.8% 0.132 144.4);
Tailwind
colors: {
  custom: {
    50: '#74a671',
    500: '#348138',
    950: '#000000',
  },
}
SCSS
$custom: #348138;
$custom-light: #74a671;
$custom-dark: #000000;
JSON
{
  "hex": "#348138",
  "rgb": {
    "r": 52,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 123.117,
    "s": 42.541,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53755,
    "c": 0.13201,
    "h": 144.4
  },
  "luminance": 0.16716
}

Semantic roles & 50–950 ramp

primary
#348138
secondary
#AC65A8
accent
#55CCD2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #348138

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

Preview Lab → · Contrast checker → · Palette generator →

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