#345916#345916

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

Color values

HEX#345916
RGBrgb(52, 89, 22)
HSLhsl(93, 60%, 22%)
HSVhsv(93, 75%, 35%)
CMYKcmyk(41.6%, 0%, 75.3%, 65.1%)
CIE-LABlab(33.84, -25.84, 32.99)
CIE-LCHlch(33.84, 41.91, 128.07°)
OKLaboklab(42.1% -0.0723 0.0748)
OKLCHoklch(42.1% 0.104 134)
XYZxyz(5.1333, 7.9325, 2.0196)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345916 #3B1659
analogous
#565916 #345916 #16591A
triadic
#345916 #163459 #591634
tetradic
#345916 #165659 #3B1659 #591A16
square
#345916 #165659 #3B1659 #591A16
split-complementary
#345916 #1A1659 #591656
monochromatic
#0E1906 #17280A #345916 #518A22 #6DBB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345916#FFFFFF#000000##FFFFFF
##3459161.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)
#5D510B
Deuteranopia (green-blind)
#584E1C
Tritanopia (blue-blind)
#34554C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345916;
/* rgb */ color: rgb(52, 89, 22);
/* oklch */ color: oklch(42.1% 0.104 134.0);
Tailwind
colors: {
  custom: {
    50: '#6f8858',
    500: '#345916',
    950: '#000000',
  },
}
SCSS
$custom: #345916;
$custom-light: #6f8858;
$custom-dark: #000000;
JSON
{
  "hex": "#345916",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 22
  },
  "hsl": {
    "h": 93.134,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.10402,
    "h": 134
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#345916
secondary
#6A3B90
accent
#44E49C
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345916

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

Preview Lab → · Contrast checker → · Palette generator →

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