#348817#348817

#348817 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.165 H 139.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#348817
RGBrgb(52, 136, 23)
HSLhsl(105, 71%, 31%)
HSVhsv(105, 83%, 53%)
CMYKcmyk(61.8%, 0%, 83.1%, 46.7%)
CIE-LABlab(49.98, -45.43, 48.31)
CIE-LCHlch(49.98, 66.31, 133.24°)
OKLaboklab(55.38% -0.125 0.107)
OKLCHoklch(55.38% 0.165 139.5)
XYZxyz(10.3745, 18.3993, 3.8151)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#348817 #6B1788
analogous
#6C8817 #348817 #178832
triadic
#348817 #173488 #881734
tetradic
#348817 #176C88 #6B1788 #883217
square
#348817 #176C88 #6B1788 #883217
split-complementary
#348817 #321788 #88176C
monochromatic
#0C1F05 #20540E #348817 #48BC20 #65DE3B

Accessibility & contrast

On white

4.49
#348817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#348817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #348817
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##348817#FFFFFF#000000##000000
##3488171.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#2A8373
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #348817;
/* rgb */ color: rgb(52, 136, 23);
/* oklch */ color: oklch(55.4% 0.165 139.5);
Tailwind
colors: {
  custom: {
    50: '#77ab5f',
    500: '#348817',
    950: '#000000',
  },
}
SCSS
$custom: #348817;
$custom-light: #77ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#348817",
  "rgb": {
    "r": 52,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 104.602,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55381,
    "c": 0.16453,
    "h": 139.5
  },
  "luminance": 0.184
}

Semantic roles & 50–950 ramp

primary
#348817
secondary
#9C3FBC
accent
#3AEEC0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #348817

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

Preview Lab → · Contrast checker → · Palette generator →

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