#345A19#345A19

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

Color values

HEX#345A19
RGBrgb(52, 90, 25)
HSLhsl(95, 57%, 23%)
HSVhsv(95, 72%, 35%)
CMYKcmyk(42.2%, 0%, 72.2%, 64.7%)
CIE-LABlab(34.22, -26.06, 32.03)
CIE-LCHlch(34.22, 41.29, 129.13°)
OKLaboklab(42.41% -0.0726 0.0732)
OKLCHoklch(42.41% 0.103 134.8)
XYZxyz(5.2477, 8.1123, 2.2088)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A19 #3F195A
analogous
#545A19 #345A19 #195A1E
triadic
#345A19 #19345A #5A1934
tetradic
#345A19 #19545A #3F195A #5A1E19
square
#345A19 #19545A #3F195A #5A1E19
split-complementary
#345A19 #1E195A #5A1954
monochromatic
#0E1807 #182A0C #345A19 #508A26 #6BBA34

Accessibility & contrast

On white

8.01
#345A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345A19
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A19#FFFFFF#000000##FFFFFF
##345A191.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5210
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#33564D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345a19;
/* rgb */ color: rgb(52, 90, 25);
/* oklch */ color: oklch(42.4% 0.103 134.8);
Tailwind
colors: {
  custom: {
    50: '#6f8959',
    500: '#345a19',
    950: '#000000',
  },
}
SCSS
$custom: #345a19;
$custom-light: #6f8959;
$custom-dark: #000000;
JSON
{
  "hex": "#345a19",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 95.077,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.10313,
    "h": 134.8
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#345A19
secondary
#6E3E90
accent
#48E0A1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #345A19

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

Preview Lab → · Contrast checker → · Palette generator →

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