#345E17#345E17

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

Color values

HEX#345E17
RGBrgb(52, 94, 23)
HSLhsl(95, 61%, 23%)
HSVhsv(95, 76%, 37%)
CMYKcmyk(44.7%, 0%, 75.5%, 63.1%)
CIE-LABlab(35.59, -28.12, 34.35)
CIE-LCHlch(35.59, 44.40, 129.30°)
OKLaboklab(43.53% -0.0784 0.0778)
OKLCHoklch(43.53% 0.11 135.2)
XYZxyz(5.5734, 8.7970, 2.2148)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345E17 #41175E
analogous
#575E17 #345E17 #175E1D
triadic
#345E17 #17345E #5E1734
tetradic
#345E17 #17575E #41175E #5E1D17
square
#345E17 #17575E #41175E #5E1D17
split-complementary
#345E17 #1D175E #5E1757
monochromatic
#0E1906 #192D0B #345E17 #4F8F23 #6AC02F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345E17#FFFFFF#000000##FFFFFF
##345E171.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)
#62560B
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#335A50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345e17;
/* rgb */ color: rgb(52, 94, 23);
/* oklch */ color: oklch(43.5% 0.110 135.2);
Tailwind
colors: {
  custom: {
    50: '#708c59',
    500: '#345e17',
    950: '#000000',
  },
}
SCSS
$custom: #345e17;
$custom-light: #708c59;
$custom-dark: #000000;
JSON
{
  "hex": "#345e17",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 95.493,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43532,
    "c": 0.11044,
    "h": 135.2
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#345E17
secondary
#713C95
accent
#44E4A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #345E17

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

Preview Lab → · Contrast checker → · Palette generator →

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