#348228#348228

#348228 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.147 H 141.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#348228
RGBrgb(52, 130, 40)
HSLhsl(112, 53%, 33%)
HSVhsv(112, 69%, 51%)
CMYKcmyk(60%, 0%, 69.2%, 49%)
CIE-LABlab(48.07, -41.84, 40.09)
CIE-LCHlch(48.07, 57.95, 136.23°)
OKLaboklab(53.84% -0.1144 0.0922)
OKLCHoklch(53.84% 0.147 141.1)
XYZxyz(9.7813, 16.8477, 4.7435)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348228 #762882
analogous
#618228 #348228 #288249
triadic
#348228 #283482 #822834
tetradic
#348228 #286182 #762882 #824928
square
#348228 #286182 #762882 #824928
split-complementary
#348228 #492882 #822861
monochromatic
#0F240B #21531A #348228 #47B136 #68CC59

Accessibility & contrast

On white

4.81
#348228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#348228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #348228
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348228#FFFFFF#000000##FFFFFF
##3482281.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#297E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #348228;
/* rgb */ color: rgb(52, 130, 40);
/* oklch */ color: oklch(53.8% 0.147 141.1);
Tailwind
colors: {
  custom: {
    50: '#75a767',
    500: '#348228',
    950: '#000000',
  },
}
SCSS
$custom: #348228;
$custom-light: #75a767;
$custom-dark: #000000;
JSON
{
  "hex": "#348228",
  "rgb": {
    "r": 52,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 112,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53839,
    "c": 0.14687,
    "h": 141.1
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#348228
secondary
#A555B1
accent
#4BDCC9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #348228

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

Preview Lab → · Contrast checker → · Palette generator →

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