#348227#348227

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

Color values

HEX#348227
RGBrgb(52, 130, 39)
HSLhsl(111, 54%, 33%)
HSVhsv(111, 70%, 51%)
CMYKcmyk(60%, 0%, 70%, 49%)
CIE-LABlab(48.06, -41.94, 40.51)
CIE-LCHlch(48.06, 58.31, 135.99°)
OKLaboklab(53.83% -0.1147 0.0929)
OKLCHoklch(53.83% 0.148 141)
XYZxyz(9.7645, 16.8409, 4.6551)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348227 #752782
analogous
#618227 #348227 #278248
triadic
#348227 #273482 #822734
tetradic
#348227 #276182 #752782 #824827
square
#348227 #276182 #752782 #824827
split-complementary
#348227 #482782 #822761
monochromatic
#0E240B #215319 #348227 #47B135 #68CD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##348227#FFFFFF#000000##FFFFFF
##3482271.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)
#85761A
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#297E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #348227;
/* rgb */ color: rgb(52, 130, 39);
/* oklch */ color: oklch(53.8% 0.148 141.0);
Tailwind
colors: {
  custom: {
    50: '#75a766',
    500: '#348227',
    950: '#000000',
  },
}
SCSS
$custom: #348227;
$custom-light: #75a766;
$custom-dark: #000000;
JSON
{
  "hex": "#348227",
  "rgb": {
    "r": 52,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 111.429,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5383,
    "c": 0.14761,
    "h": 141
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#348227
secondary
#A453B1
accent
#4BDDC8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #348227

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

Preview Lab → · Contrast checker → · Palette generator →

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