#348331#348331

#348331 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.141 H 142.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#348331
RGBrgb(52, 131, 49)
HSLhsl(118, 46%, 35%)
HSVhsv(118, 63%, 51%)
CMYKcmyk(60.3%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.49, -41.26, 36.42)
CIE-LCHlch(48.49, 55.03, 138.57°)
OKLaboklab(54.22% -0.1122 0.0854)
OKLCHoklch(54.22% 0.141 142.7)
XYZxyz(10.0863, 17.1835, 5.6904)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348331 #803183
analogous
#5D8331 #348331 #318357
triadic
#348331 #313483 #833134
tetradic
#348331 #315D83 #803183 #835731
square
#348331 #315D83 #803183 #835731
split-complementary
#348331 #573183 #83315D
monochromatic
#112A10 #225620 #348331 #46B042 #6BC668

Accessibility & contrast

On white

4.73
#348331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#348331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #348331
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348331#FFFFFF#000000##FFFFFF
##3483311.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7C7138
Tritanopia (blue-blind)
#277F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #348331;
/* rgb */ color: rgb(52, 131, 49);
/* oklch */ color: oklch(54.2% 0.141 142.7);
Tailwind
colors: {
  custom: {
    50: '#74a86c',
    500: '#348331',
    950: '#000000',
  },
}
SCSS
$custom: #348331;
$custom-light: #74a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#348331",
  "rgb": {
    "r": 52,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 117.805,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54216,
    "c": 0.14103,
    "h": 142.7
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#348331
secondary
#AB62AE
accent
#53D5D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #348331

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

Preview Lab → · Contrast checker → · Palette generator →

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