#345A13#345A13

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

Color values

HEX#345A13
RGBrgb(52, 90, 19)
HSLhsl(92, 65%, 21%)
HSVhsv(92, 79%, 35%)
CMYKcmyk(42.2%, 0%, 78.9%, 64.7%)
CIE-LABlab(34.17, -26.55, 34.59)
CIE-LCHlch(34.17, 43.60, 127.52°)
OKLaboklab(42.36% -0.0745 0.0776)
OKLCHoklch(42.36% 0.108 133.8)
XYZxyz(5.1898, 8.0892, 1.9039)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A13 #39135A
analogous
#585A13 #345A13 #135A16
triadic
#345A13 #13345A #5A1334
tetradic
#345A13 #13585A #39135A #5A1613
square
#345A13 #13585A #39135A #5A1613
split-complementary
#345A13 #16135A #5A1358
monochromatic
#0F1905 #172708 #345A13 #518D1E #6EBF28

Accessibility & contrast

On white

8.02
#345A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345A13
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A13#FFFFFF#000000##FFFFFF
##345A131.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5206
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#34564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345a13;
/* rgb */ color: rgb(52, 90, 19);
/* oklch */ color: oklch(42.4% 0.108 133.8);
Tailwind
colors: {
  custom: {
    50: '#6f8956',
    500: '#345a13',
    950: '#000000',
  },
}
SCSS
$custom: #345a13;
$custom-light: #6f8956;
$custom-dark: #000000;
JSON
{
  "hex": "#345a13",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 92.113,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42358,
    "c": 0.10757,
    "h": 133.8
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#345A13
secondary
#683792
accent
#40E89A
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345A13

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

Preview Lab → · Contrast checker → · Palette generator →

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