#345C14#345C14

#345C14 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.9% C 0.110 H 134.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#345C14
RGBrgb(52, 92, 20)
HSLhsl(93, 64%, 22%)
HSVhsv(93, 78%, 36%)
CMYKcmyk(43.5%, 0%, 78.3%, 63.9%)
CIE-LABlab(34.87, -27.42, 34.88)
CIE-LCHlch(34.87, 44.37, 128.17°)
OKLaboklab(42.94% -0.0768 0.0784)
OKLCHoklch(42.94% 0.11 134.4)
XYZxyz(5.3695, 8.4346, 2.0068)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C14 #3C145C
analogous
#585C14 #345C14 #145C18
triadic
#345C14 #14345C #5C1434
tetradic
#345C14 #14585C #3C145C #5C1814
square
#345C14 #14585C #3C145C #5C1814
split-complementary
#345C14 #18145C #5C1458
monochromatic
#0E1905 #182A09 #345C14 #508E1F #6DC12A

Accessibility & contrast

On white

7.82
#345C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345C14
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C14#FFFFFF#000000##FFFFFF
##345C141.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605407
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#33584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345c14;
/* rgb */ color: rgb(52, 92, 20);
/* oklch */ color: oklch(42.9% 0.110 134.4);
Tailwind
colors: {
  custom: {
    50: '#708a57',
    500: '#345c14',
    950: '#000000',
  },
}
SCSS
$custom: #345c14;
$custom-light: #708a57;
$custom-dark: #000000;
JSON
{
  "hex": "#345c14",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 20
  },
  "hsl": {
    "h": 93.333,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42936,
    "c": 0.10973,
    "h": 134.4
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#345C14
secondary
#6B3894
accent
#41E79D
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #345C14

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

Preview Lab → · Contrast checker → · Palette generator →

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