#348B21#348B21

#348B21 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.163 H 140.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#348B21
RGBrgb(52, 139, 33)
HSLhsl(109, 62%, 34%)
HSVhsv(109, 76%, 55%)
CMYKcmyk(62.6%, 0%, 76.3%, 45.5%)
CIE-LABlab(51.04, -45.88, 45.99)
CIE-LCHlch(51.04, 64.96, 134.93°)
OKLaboklab(56.28% -0.1257 0.1036)
OKLCHoklch(56.28% 0.163 140.5)
XYZxyz(10.9228, 19.3041, 4.5890)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348B21 #78218B
analogous
#698B21 #348B21 #218B43
triadic
#348B21 #21348B #8B2134
tetradic
#348B21 #21698B #78218B #8B4321
square
#348B21 #21698B #78218B #8B4321
split-complementary
#348B21 #43218B #8B2169
monochromatic
#0F280A #215A15 #348B21 #47BC2D #69D651

Accessibility & contrast

On white

4.32
#348B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#348B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348B21
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348B21#FFFFFF#000000##000000
##348B211.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#278677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #348b21;
/* rgb */ color: rgb(52, 139, 33);
/* oklch */ color: oklch(56.3% 0.163 140.5);
Tailwind
colors: {
  custom: {
    50: '#77ae64',
    500: '#348b21',
    950: '#000000',
  },
}
SCSS
$custom: #348b21;
$custom-light: #77ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#348b21",
  "rgb": {
    "r": 52,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 109.245,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.16286,
    "h": 140.5
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#348B21
secondary
#A64FB9
accent
#43E5C8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #348B21

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

Preview Lab → · Contrast checker → · Palette generator →

#348B21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva