#348131#348131

#348131 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.138 H 142.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#348131
RGBrgb(52, 129, 49)
HSLhsl(118, 45%, 35%)
HSVhsv(118, 62%, 51%)
CMYKcmyk(59.7%, 0%, 62%, 49.4%)
CIE-LABlab(47.82, -40.46, 35.65)
CIE-LCHlch(47.82, 53.92, 138.62°)
OKLaboklab(53.66% -0.1101 0.0837)
OKLCHoklch(53.66% 0.138 142.7)
XYZxyz(9.8203, 16.6515, 5.6017)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348131 #7E3181
analogous
#5C8131 #348131 #318156
triadic
#348131 #313481 #813134
tetradic
#348131 #315C81 #7E3181 #815631
square
#348131 #315C81 #7E3181 #815631
split-complementary
#348131 #563181 #81315C
monochromatic
#10280F #225520 #348131 #46AD42 #6BC567

Accessibility & contrast

On white

4.85
#348131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#348131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #348131
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348131#FFFFFF#000000##FFFFFF
##3481311.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#7A6F37
Tritanopia (blue-blind)
#287D70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #348131;
/* rgb */ color: rgb(52, 129, 49);
/* oklch */ color: oklch(53.7% 0.138 142.7);
Tailwind
colors: {
  custom: {
    50: '#74a66c',
    500: '#348131',
    950: '#000000',
  },
}
SCSS
$custom: #348131;
$custom-light: #74a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#348131",
  "rgb": {
    "r": 52,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 117.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53662,
    "c": 0.1383,
    "h": 142.7
  },
  "luminance": 0.16652
}

Semantic roles & 50–950 ramp

primary
#348131
secondary
#AA61AD
accent
#53D5D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #348131

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

Preview Lab → · Contrast checker → · Palette generator →

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