#345D18#345D18

#345D18 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.3% C 0.108 H 135.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#345D18
RGBrgb(52, 93, 24)
HSLhsl(96, 59%, 23%)
HSVhsv(96, 74%, 36%)
CMYKcmyk(44.1%, 0%, 74.2%, 63.5%)
CIE-LABlab(35.25, -27.57, 33.57)
CIE-LCHlch(35.25, 43.44, 129.39°)
OKLaboklab(43.26% -0.0768 0.0763)
OKLCHoklch(43.26% 0.108 135.2)
XYZxyz(5.4953, 8.6244, 2.2391)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D18 #41185D
analogous
#565D18 #345D18 #185D1E
triadic
#345D18 #18345D #5D1834
tetradic
#345D18 #18565D #41185D #5D1E18
square
#345D18 #18565D #41185D #5D1E18
split-complementary
#345D18 #1E185D #5D1856
monochromatic
#0E1806 #192C0B #345D18 #4F8E25 #6ABE31

Accessibility & contrast

On white

7.71
#345D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#345D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345D18
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D18#FFFFFF#000000##FFFFFF
##345D181.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550E
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#33594F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #345d18;
/* rgb */ color: rgb(52, 93, 24);
/* oklch */ color: oklch(43.3% 0.108 135.2);
Tailwind
colors: {
  custom: {
    50: '#6f8b59',
    500: '#345d18',
    950: '#000000',
  },
}
SCSS
$custom: #345d18;
$custom-light: #6f8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#345d18",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 95.652,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43256,
    "c": 0.10827,
    "h": 135.2
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#345D18
secondary
#713D93
accent
#46E2A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #345D18

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

Preview Lab → · Contrast checker → · Palette generator →

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