#345E28#345E28

#345E28 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.095 H 139.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#345E28
RGBrgb(52, 94, 40)
HSLhsl(107, 40%, 26%)
HSVhsv(107, 57%, 37%)
CMYKcmyk(44.7%, 0%, 57.4%, 63.1%)
CIE-LABlab(35.77, -26.27, 26.17)
CIE-LCHlch(35.77, 37.08, 135.11°)
OKLaboklab(43.73% -0.0721 0.0624)
OKLCHoklch(43.73% 0.095 139.1)
XYZxyz(5.8017, 8.8883, 3.4170)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345E28 #52285E
analogous
#4F5E28 #345E28 #285E37
triadic
#345E28 #28345E #5E2834
tetradic
#345E28 #284F5E #52285E #5E3728
square
#345E28 #284F5E #52285E #5E3728
split-complementary
#345E28 #37285E #5E284F
monochromatic
#0C1509 #1C3316 #345E28 #4C893A #64B34D

Accessibility & contrast

On white

7.56
#345E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#345E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345E28
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345E28#FFFFFF#000000##FFFFFF
##345E281.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615623
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#315B52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345e28;
/* rgb */ color: rgb(52, 94, 40);
/* oklch */ color: oklch(43.7% 0.095 139.1);
Tailwind
colors: {
  custom: {
    50: '#6f8c63',
    500: '#345e28',
    950: '#000000',
  },
}
SCSS
$custom: #345e28;
$custom-light: #6f8c63;
$custom-dark: #000000;
JSON
{
  "hex": "#345e28",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 40
  },
  "hsl": {
    "h": 106.667,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.43734,
    "c": 0.0953,
    "h": 139.1
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#345E28
secondary
#835191
accent
#58D0B5
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #345E28

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

Preview Lab → · Contrast checker → · Palette generator →

#345E28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva