#348915#348915

#348915 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.167 H 139.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#348915
RGBrgb(52, 137, 21)
HSLhsl(104, 73%, 31%)
HSVhsv(104, 85%, 54%)
CMYKcmyk(62%, 0%, 84.7%, 46.3%)
CIE-LABlab(50.30, -45.91, 49.19)
CIE-LCHlch(50.30, 67.28, 133.03°)
OKLaboklab(55.65% -0.1264 0.1085)
OKLCHoklch(55.65% 0.167 139.4)
XYZxyz(10.4967, 18.6746, 3.7607)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348915 #6A1589
analogous
#6E8915 #348915 #158930
triadic
#348915 #153489 #891534
tetradic
#348915 #156E89 #6A1589 #893015
square
#348915 #156E89 #6A1589 #893015
split-complementary
#348915 #301589 #89156E
monochromatic
#0C1F05 #20540D #348915 #48BE1D #65E038

Accessibility & contrast

On white

4.43
#348915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#348915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348915
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348915#FFFFFF#000000##000000
##3489151.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#298474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #348915;
/* rgb */ color: rgb(52, 137, 21);
/* oklch */ color: oklch(55.6% 0.167 139.4);
Tailwind
colors: {
  custom: {
    50: '#77ac5e',
    500: '#348915',
    950: '#000000',
  },
}
SCSS
$custom: #348915;
$custom-light: #77ac5e;
$custom-dark: #000000;
JSON
{
  "hex": "#348915",
  "rgb": {
    "r": 52,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 103.966,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55649,
    "c": 0.16658,
    "h": 139.4
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

primary
#348915
secondary
#9B3DBD
accent
#38F0BF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #348915

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

Preview Lab → · Contrast checker → · Palette generator →

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