#345E18#345E18

#345E18 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.5% C 0.110 H 135.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#345E18
RGBrgb(52, 94, 24)
HSLhsl(96, 59%, 23%)
HSVhsv(96, 74%, 37%)
CMYKcmyk(44.7%, 0%, 74.5%, 63.1%)
CIE-LABlab(35.60, -28.04, 33.93)
CIE-LCHlch(35.60, 44.01, 129.57°)
OKLaboklab(43.54% -0.0781 0.077)
OKLCHoklch(43.54% 0.11 135.4)
XYZxyz(5.5836, 8.8011, 2.2686)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345E18 #42185E
analogous
#575E18 #345E18 #185E1F
triadic
#345E18 #18345E #5E1834
tetradic
#345E18 #18575E #42185E #5E1F18
square
#345E18 #18575E #42185E #5E1F18
split-complementary
#345E18 #1F185E #5E1857
monochromatic
#0D1806 #192D0C #345E18 #4F8F24 #6AC031

Accessibility & contrast

On white

7.61
#345E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#345E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345E18
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345E18#FFFFFF#000000##FFFFFF
##345E181.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#335A50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345e18;
/* rgb */ color: rgb(52, 94, 24);
/* oklch */ color: oklch(43.5% 0.110 135.4);
Tailwind
colors: {
  custom: {
    50: '#708c59',
    500: '#345e18',
    950: '#000000',
  },
}
SCSS
$custom: #345e18;
$custom-light: #708c59;
$custom-dark: #000000;
JSON
{
  "hex": "#345e18",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 96,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43541,
    "c": 0.10971,
    "h": 135.4
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#345E18
secondary
#723D94
accent
#45E3A4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #345E18

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

Preview Lab → · Contrast checker → · Palette generator →

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