#348231#348231

#348231 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.140 H 142.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#348231
RGBrgb(52, 130, 49)
HSLhsl(118, 45%, 35%)
HSVhsv(118, 62%, 51%)
CMYKcmyk(60%, 0%, 62.3%, 49%)
CIE-LABlab(48.15, -40.86, 36.03)
CIE-LCHlch(48.15, 54.48, 138.59°)
OKLaboklab(53.94% -0.1112 0.0846)
OKLCHoklch(53.94% 0.14 142.7)
XYZxyz(9.9527, 16.9162, 5.6458)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348231 #7F3182
analogous
#5C8231 #348231 #318257
triadic
#348231 #313482 #823134
tetradic
#348231 #315C82 #7F3182 #825731
square
#348231 #315C82 #7F3182 #825731
split-complementary
#348231 #573182 #82315C
monochromatic
#10290F #225620 #348231 #46AE42 #6BC668

Accessibility & contrast

On white

4.79
#348231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#348231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #348231
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348231#FFFFFF#000000##FFFFFF
##3482311.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857628
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#277E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #348231;
/* rgb */ color: rgb(52, 130, 49);
/* oklch */ color: oklch(53.9% 0.140 142.7);
Tailwind
colors: {
  custom: {
    50: '#74a76c',
    500: '#348231',
    950: '#000000',
  },
}
SCSS
$custom: #348231;
$custom-light: #74a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#348231",
  "rgb": {
    "r": 52,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 117.778,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53939,
    "c": 0.13967,
    "h": 142.7
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #348231

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

Preview Lab → · Contrast checker → · Palette generator →

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