#348B1B#348B1B

#348B1B is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.166 H 139.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#348B1B
RGBrgb(52, 139, 27)
HSLhsl(107, 67%, 33%)
HSVhsv(107, 81%, 55%)
CMYKcmyk(62.6%, 0%, 80.6%, 45.5%)
CIE-LABlab(51.01, -46.30, 48.03)
CIE-LCHlch(51.01, 66.71, 133.95°)
OKLaboklab(56.24% -0.1272 0.107)
OKLCHoklch(56.24% 0.166 139.9)
XYZxyz(10.8461, 19.2734, 4.1853)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348B1B #721B8B
analogous
#6C8B1B #348B1B #1B8B3A
triadic
#348B1B #1B348B #8B1B34
tetradic
#348B1B #1B6C8B #721B8B #8B3A1B
square
#348B1B #1B6C8B #721B8B #8B3A1B
split-complementary
#348B1B #3A1B8B #8B1B6C
monochromatic
#0E2507 #215811 #348B1B #47BE25 #67DB45

Accessibility & contrast

On white

4.33
#348B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#348B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348B1B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348B1B#FFFFFF#000000##000000
##348B1B1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#288676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #348b1b;
/* rgb */ color: rgb(52, 139, 27);
/* oklch */ color: oklch(56.2% 0.166 139.9);
Tailwind
colors: {
  custom: {
    50: '#77ae61',
    500: '#348b1b',
    950: '#000000',
  },
}
SCSS
$custom: #348b1b;
$custom-light: #77ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#348b1b",
  "rgb": {
    "r": 52,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 106.607,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.16616,
    "h": 139.9
  },
  "luminance": 0.19274
}

Semantic roles & 50–950 ramp

primary
#348B1B
secondary
#A245BC
accent
#3DEAC4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #348B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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