#345C1A#345C1A

#345C1A is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.0% C 0.105 H 135.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#345C1A
RGBrgb(52, 92, 26)
HSLhsl(96, 56%, 23%)
HSVhsv(96, 72%, 36%)
CMYKcmyk(43.5%, 0%, 71.7%, 63.9%)
CIE-LABlab(34.92, -26.92, 32.32)
CIE-LCHlch(34.92, 42.06, 129.79°)
OKLaboklab(42.99% -0.0749 0.074)
OKLCHoklch(42.99% 0.105 135.4)
XYZxyz(5.4296, 8.4587, 2.3237)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C1A #421A5C
analogous
#555C1A #345C1A #1A5C21
triadic
#345C1A #1A345C #5C1A34
tetradic
#345C1A #1A555C #421A5C #5C211A
square
#345C1A #1A555C #421A5C #5C211A
split-complementary
#345C1A #211A5C #5C1A55
monochromatic
#0D1807 #192C0D #345C1A #4F8C27 #6ABB35

Accessibility & contrast

On white

7.80
#345C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#345C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345C1A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C1A#FFFFFF#000000##FFFFFF
##345C1A1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605411
Deuteranopia (green-blind)
#5A5120
Tritanopia (blue-blind)
#33584F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345c1a;
/* rgb */ color: rgb(52, 92, 26);
/* oklch */ color: oklch(43.0% 0.105 135.4);
Tailwind
colors: {
  custom: {
    50: '#6f8a5a',
    500: '#345c1a',
    950: '#000000',
  },
}
SCSS
$custom: #345c1a;
$custom-light: #6f8a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#345c1a",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 26
  },
  "hsl": {
    "h": 96.364,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.10525,
    "h": 135.4
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#345C1A
secondary
#724092
accent
#49DFA4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #345C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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