#345A17#345A17

#345A17 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.4% C 0.105 H 134.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#345A17
RGBrgb(52, 90, 23)
HSLhsl(94, 59%, 22%)
HSVhsv(94, 74%, 35%)
CMYKcmyk(42.2%, 0%, 74.4%, 64.7%)
CIE-LABlab(34.20, -26.23, 32.92)
CIE-LCHlch(34.20, 42.09, 128.55°)
OKLaboklab(42.39% -0.0733 0.0748)
OKLCHoklch(42.39% 0.105 134.4)
XYZxyz(5.2269, 8.1040, 2.0993)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A17 #3D175A
analogous
#565A17 #345A17 #175A1C
triadic
#345A17 #17345A #5A1734
tetradic
#345A17 #17565A #3D175A #5A1C17
square
#345A17 #17565A #3D175A #5A1C17
split-complementary
#345A17 #1C175A #5A1756
monochromatic
#0E1806 #18290B #345A17 #508B23 #6CBB30

Accessibility & contrast

On white

8.01
#345A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#345A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345A17
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A17#FFFFFF#000000##FFFFFF
##345A171.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520D
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#34564D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345a17;
/* rgb */ color: rgb(52, 90, 23);
/* oklch */ color: oklch(42.4% 0.105 134.4);
Tailwind
colors: {
  custom: {
    50: '#6f8958',
    500: '#345a17',
    950: '#000000',
  },
}
SCSS
$custom: #345a17;
$custom-light: #6f8958;
$custom-dark: #000000;
JSON
{
  "hex": "#345a17",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 94.03,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42392,
    "c": 0.1047,
    "h": 134.4
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#345A17
secondary
#6C3C91
accent
#45E29E
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345A17

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

Preview Lab → · Contrast checker → · Palette generator →

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