#345B15#345B15

#345B15 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.7% C 0.108 H 134.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#345B15
RGBrgb(52, 91, 21)
HSLhsl(93, 63%, 22%)
HSVhsv(93, 77%, 36%)
CMYKcmyk(42.9%, 0%, 76.9%, 64.3%)
CIE-LABlab(34.53, -26.87, 34.12)
CIE-LCHlch(34.53, 43.44, 128.22°)
OKLaboklab(42.66% -0.0752 0.077)
OKLCHoklch(42.66% 0.108 134.3)
XYZxyz(5.2925, 8.2661, 2.0260)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345B15 #3C155B
analogous
#575B15 #345B15 #155B19
triadic
#345B15 #15345B #5B1534
tetradic
#345B15 #15575B #3C155B #5B1915
square
#345B15 #15575B #3C155B #5B1915
split-complementary
#345B15 #19155B #5B1557
monochromatic
#0E1906 #18290A #345B15 #508D20 #6DBE2C

Accessibility & contrast

On white

7.91
#345B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#345B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345B15
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345B15#FFFFFF#000000##FFFFFF
##345B151.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5309
Deuteranopia (green-blind)
#59501C
Tritanopia (blue-blind)
#34574D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #345b15;
/* rgb */ color: rgb(52, 91, 21);
/* oklch */ color: oklch(42.7% 0.108 134.3);
Tailwind
colors: {
  custom: {
    50: '#6f8a57',
    500: '#345b15',
    950: '#000000',
  },
}
SCSS
$custom: #345b15;
$custom-light: #6f8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#345b15",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 93.429,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.10761,
    "h": 134.3
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#345B15
secondary
#6B3992
accent
#42E69D
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345B15

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

Preview Lab → · Contrast checker → · Palette generator →

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