#345F17#345F17

#345F17 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.8% C 0.112 H 135.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#345F17
RGBrgb(52, 95, 23)
HSLhsl(96, 61%, 23%)
HSVhsv(96, 76%, 37%)
CMYKcmyk(45.3%, 0%, 75.8%, 62.7%)
CIE-LABlab(35.94, -28.59, 34.71)
CIE-LCHlch(35.94, 44.97, 129.47°)
OKLaboklab(43.82% -0.0797 0.0785)
OKLCHoklch(43.82% 0.112 135.4)
XYZxyz(5.6629, 8.9760, 2.2446)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345F17 #42175F
analogous
#585F17 #345F17 #175F1E
triadic
#345F17 #17345F #5F1734
tetradic
#345F17 #17585F #42175F #5F1E17
square
#345F17 #17585F #42175F #5F1E17
split-complementary
#345F17 #1E175F #5F1758
monochromatic
#0D1906 #192E0B #345F17 #4F9023 #6AC22F

Accessibility & contrast

On white

7.51
#345F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#345F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345F17
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345F17#FFFFFF#000000##FFFFFF
##345F171.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#335B51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #345f17;
/* rgb */ color: rgb(52, 95, 23);
/* oklch */ color: oklch(43.8% 0.112 135.4);
Tailwind
colors: {
  custom: {
    50: '#708d59',
    500: '#345f17',
    950: '#000000',
  },
}
SCSS
$custom: #345f17;
$custom-light: #708d59;
$custom-dark: #000000;
JSON
{
  "hex": "#345f17",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 95.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43816,
    "c": 0.11186,
    "h": 135.4
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#345F17
secondary
#723C96
accent
#44E4A4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #345F17

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

Preview Lab → · Contrast checker → · Palette generator →

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