#348C1B#348C1B

#348C1B is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.167 H 140.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#348C1B
RGBrgb(52, 140, 27)
HSLhsl(107, 68%, 33%)
HSVhsv(107, 81%, 55%)
CMYKcmyk(62.9%, 0%, 80.7%, 45.1%)
CIE-LABlab(51.34, -46.66, 48.35)
CIE-LCHlch(51.34, 67.19, 133.98°)
OKLaboklab(56.52% -0.1281 0.1076)
OKLCHoklch(56.52% 0.167 140)
XYZxyz(10.9916, 19.5643, 4.2338)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348C1B #731B8C
analogous
#6C8C1B #348C1B #1B8C3B
triadic
#348C1B #1B348C #8C1B34
tetradic
#348C1B #1B6C8C #731B8C #8C3B1B
square
#348C1B #1B6C8C #731B8C #8C3B1B
split-complementary
#348C1B #3B1B8C #8C1B6C
monochromatic
#0E2507 #215911 #348C1B #47BF25 #67DB46

Accessibility & contrast

On white

4.27
#348C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#348C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348C1B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348C1B#FFFFFF#000000##000000
##348C1B1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#857828
Tritanopia (blue-blind)
#288777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #348c1b;
/* rgb */ color: rgb(52, 140, 27);
/* oklch */ color: oklch(56.5% 0.167 140.0);
Tailwind
colors: {
  custom: {
    50: '#77ae61',
    500: '#348c1b',
    950: '#000000',
  },
}
SCSS
$custom: #348c1b;
$custom-light: #77ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#348c1b",
  "rgb": {
    "r": 52,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 106.726,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.16734,
    "h": 140
  },
  "luminance": 0.19565
}

Semantic roles & 50–950 ramp

primary
#348C1B
secondary
#A346BD
accent
#3DEBC4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #348C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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