#345D17#345D17

#345D17 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.109 H 135.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#345D17
RGBrgb(52, 93, 23)
HSLhsl(95, 60%, 23%)
HSVhsv(95, 75%, 36%)
CMYKcmyk(44.1%, 0%, 75.3%, 63.5%)
CIE-LABlab(35.24, -27.65, 34.00)
CIE-LCHlch(35.24, 43.82, 129.13°)
OKLaboklab(43.25% -0.0771 0.077)
OKLCHoklch(43.25% 0.109 135)
XYZxyz(5.4851, 8.6203, 2.1853)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D17 #40175D
analogous
#575D17 #345D17 #175D1D
triadic
#345D17 #17345D #5D1734
tetradic
#345D17 #17575D #40175D #5D1D17
square
#345D17 #17575D #40175D #5D1D17
split-complementary
#345D17 #1D175D #5D1757
monochromatic
#0E1906 #192C0B #345D17 #4F8E23 #6BBF2F

Accessibility & contrast

On white

7.71
#345D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#345D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345D17
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D17#FFFFFF#000000##FFFFFF
##345D171.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550C
Deuteranopia (green-blind)
#5B521D
Tritanopia (blue-blind)
#33594F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #345d17;
/* rgb */ color: rgb(52, 93, 23);
/* oklch */ color: oklch(43.2% 0.109 135.0);
Tailwind
colors: {
  custom: {
    50: '#6f8b59',
    500: '#345d17',
    950: '#000000',
  },
}
SCSS
$custom: #345d17;
$custom-light: #6f8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#345d17",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 95.143,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.10902,
    "h": 135
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#345D17
secondary
#6F3C94
accent
#44E3A2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #345D17

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

Preview Lab → · Contrast checker → · Palette generator →

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