#345915#345915

#345915 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.105 H 133.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#345915
RGBrgb(52, 89, 21)
HSLhsl(93, 62%, 22%)
HSVhsv(93, 76%, 35%)
CMYKcmyk(41.6%, 0%, 76.4%, 65.1%)
CIE-LABlab(33.83, -25.92, 33.42)
CIE-LCHlch(33.83, 42.29, 127.80°)
OKLaboklab(42.09% -0.0726 0.0755)
OKLCHoklch(42.09% 0.105 133.9)
XYZxyz(5.1238, 7.9287, 1.9697)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345915 #3A1559
analogous
#565915 #345915 #155918
triadic
#345915 #153459 #591534
tetradic
#345915 #155659 #3A1559 #591815
square
#345915 #155659 #3A1559 #591815
split-complementary
#345915 #181559 #591556
monochromatic
#0E1906 #172709 #345915 #518B21 #6EBC2C

Accessibility & contrast

On white

8.12
#345915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#345915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345915
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345915#FFFFFF#000000##FFFFFF
##3459151.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D510A
Deuteranopia (green-blind)
#584E1B
Tritanopia (blue-blind)
#34554C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345915;
/* rgb */ color: rgb(52, 89, 21);
/* oklch */ color: oklch(42.1% 0.105 133.9);
Tailwind
colors: {
  custom: {
    50: '#6f8857',
    500: '#345915',
    950: '#000000',
  },
}
SCSS
$custom: #345915;
$custom-light: #6f8857;
$custom-dark: #000000;
JSON
{
  "hex": "#345915",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 92.647,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.10475,
    "h": 133.9
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#345915
secondary
#693991
accent
#43E59B
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345915

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

Preview Lab → · Contrast checker → · Palette generator →

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