#348C1F#348C1F

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

Color values

HEX#348C1F
RGBrgb(52, 140, 31)
HSLhsl(108, 64%, 34%)
HSVhsv(108, 78%, 55%)
CMYKcmyk(62.9%, 0%, 77.9%, 45.1%)
CIE-LABlab(51.36, -46.40, 47.03)
CIE-LCHlch(51.36, 66.06, 134.61°)
OKLaboklab(56.54% -0.1272 0.1055)
OKLCHoklch(56.54% 0.165 140.3)
XYZxyz(11.0411, 19.5841, 4.4943)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348C1F #771F8C
analogous
#6A8C1F #348C1F #1F8C40
triadic
#348C1F #1F348C #8C1F34
tetradic
#348C1F #1F6A8C #771F8C #8C401F
square
#348C1F #1F6A8C #771F8C #8C401F
split-complementary
#348C1F #401F8C #8C1F6A
monochromatic
#0F2809 #215A14 #348C1F #47BE2A #68D84E

Accessibility & contrast

On white

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

On black

4.92
#348C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348C1F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348C1F#FFFFFF#000000##000000
##348C1F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#278777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #348c1f;
/* rgb */ color: rgb(52, 140, 31);
/* oklch */ color: oklch(56.5% 0.165 140.3);
Tailwind
colors: {
  custom: {
    50: '#77ae63',
    500: '#348c1f',
    950: '#000000',
  },
}
SCSS
$custom: #348c1f;
$custom-light: #77ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#348c1f",
  "rgb": {
    "r": 52,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 108.44,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56542,
    "c": 0.16523,
    "h": 140.3
  },
  "luminance": 0.19585
}

Semantic roles & 50–950 ramp

primary
#348C1F
secondary
#A54CBB
accent
#41E7C7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #348C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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