#345A16#345A16

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

Color values

HEX#345A16
RGBrgb(52, 90, 22)
HSLhsl(94, 61%, 22%)
HSVhsv(94, 76%, 35%)
CMYKcmyk(42.2%, 0%, 75.6%, 64.7%)
CIE-LABlab(34.19, -26.32, 33.35)
CIE-LCHlch(34.19, 42.48, 128.28°)
OKLaboklab(42.38% -0.0736 0.0755)
OKLCHoklch(42.38% 0.105 134.3)
XYZxyz(5.2171, 8.1001, 2.0475)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A16 #3C165A
analogous
#565A16 #345A16 #165A1A
triadic
#345A16 #16345A #5A1634
tetradic
#345A16 #16565A #3C165A #5A1A16
square
#345A16 #16565A #3C165A #5A1A16
split-complementary
#345A16 #1A165A #5A1656
monochromatic
#0E1906 #18290A #345A16 #508B22 #6DBC2E

Accessibility & contrast

On white

8.02
#345A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345A16
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A16#FFFFFF#000000##FFFFFF
##345A161.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520B
Deuteranopia (green-blind)
#594F1C
Tritanopia (blue-blind)
#34564D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345a16;
/* rgb */ color: rgb(52, 90, 22);
/* oklch */ color: oklch(42.4% 0.105 134.3);
Tailwind
colors: {
  custom: {
    50: '#6f8958',
    500: '#345a16',
    950: '#000000',
  },
}
SCSS
$custom: #345a16;
$custom-light: #6f8958;
$custom-dark: #000000;
JSON
{
  "hex": "#345a16",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 93.529,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42383,
    "c": 0.10546,
    "h": 134.3
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#345A16
secondary
#6B3B91
accent
#44E49D
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345A16

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

Preview Lab → · Contrast checker → · Palette generator →

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