#345D12#345D12

#345D12 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.112 H 134.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#345D12
RGBrgb(52, 93, 18)
HSLhsl(93, 68%, 22%)
HSVhsv(93, 81%, 36%)
CMYKcmyk(44.1%, 0%, 80.6%, 63.5%)
CIE-LABlab(35.21, -28.03, 36.00)
CIE-LCHlch(35.21, 45.63, 127.91°)
OKLaboklab(43.21% -0.0786 0.0804)
OKLCHoklch(43.21% 0.112 134.3)
XYZxyz(5.4396, 8.6022, 1.9459)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D12 #3B125D
analogous
#5A5D12 #345D12 #125D16
triadic
#345D12 #12345D #5D1234
tetradic
#345D12 #125A5D #3B125D #5D1612
square
#345D12 #125A5D #3B125D #5D1612
split-complementary
#345D12 #16125D #5D125A
monochromatic
#0E1A05 #172A08 #345D12 #51901C #6DC426

Accessibility & contrast

On white

7.72
#345D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345D12
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D12#FFFFFF#000000##FFFFFF
##345D121.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#5B521A
Tritanopia (blue-blind)
#33594F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #345d12;
/* rgb */ color: rgb(52, 93, 18);
/* oklch */ color: oklch(43.2% 0.112 134.3);
Tailwind
colors: {
  custom: {
    50: '#708b56',
    500: '#345d12',
    950: '#000000',
  },
}
SCSS
$custom: #345d12;
$custom-light: #708b56;
$custom-dark: #000000;
JSON
{
  "hex": "#345d12",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 92.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43206,
    "c": 0.11242,
    "h": 134.3
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#345D12
secondary
#6A3595
accent
#3DEA9C
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #345D12

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

Preview Lab → · Contrast checker → · Palette generator →

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