#345A14#345A14

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

Color values

HEX#345A14
RGBrgb(52, 90, 20)
HSLhsl(93, 64%, 22%)
HSVhsv(93, 78%, 35%)
CMYKcmyk(42.2%, 0%, 77.8%, 64.7%)
CIE-LABlab(34.17, -26.48, 34.18)
CIE-LCHlch(34.17, 43.24, 127.76°)
OKLaboklab(42.37% -0.0742 0.0769)
OKLCHoklch(42.37% 0.107 134)
XYZxyz(5.1985, 8.0926, 1.9498)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A14 #3A145A
analogous
#575A14 #345A14 #145A17
triadic
#345A14 #14345A #5A1434
tetradic
#345A14 #14575A #3A145A #5A1714
square
#345A14 #14575A #3A145A #5A1714
split-complementary
#345A14 #17145A #5A1457
monochromatic
#0E1906 #172809 #345A14 #518C1F #6EBE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345A14#FFFFFF#000000##FFFFFF
##345A141.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)
#5E5208
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#34564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345a14;
/* rgb */ color: rgb(52, 90, 20);
/* oklch */ color: oklch(42.4% 0.107 134.0);
Tailwind
colors: {
  custom: {
    50: '#6f8957',
    500: '#345a14',
    950: '#000000',
  },
}
SCSS
$custom: #345a14;
$custom-light: #6f8957;
$custom-dark: #000000;
JSON
{
  "hex": "#345a14",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 92.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.1069,
    "h": 134
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#345A14
secondary
#693892
accent
#41E79B
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345A14

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

Preview Lab → · Contrast checker → · Palette generator →

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