#345718#345718

#345718 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.5% C 0.100 H 133.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#345718
RGBrgb(52, 87, 24)
HSLhsl(93, 57%, 22%)
HSVhsv(93, 72%, 34%)
CMYKcmyk(40.2%, 0%, 72.4%, 65.9%)
CIE-LABlab(33.16, -24.69, 31.38)
CIE-LCHlch(33.16, 39.93, 128.20°)
OKLaboklab(41.55% -0.069 0.0717)
OKLCHoklch(41.55% 0.1 133.9)
XYZxyz(4.9891, 7.6122, 2.0704)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345718 #3B1857
analogous
#545718 #345718 #18571B
triadic
#345718 #183457 #571834
tetradic
#345718 #185457 #3B1857 #571B18
square
#345718 #185457 #3B1857 #571B18
split-complementary
#345718 #1B1857 #571854
monochromatic
#0E1807 #17270B #345718 #518725 #6DB732

Accessibility & contrast

On white

8.33
#345718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#345718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345718
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345718#FFFFFF#000000##FFFFFF
##3457181.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#564D1D
Tritanopia (blue-blind)
#34534A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #345718;
/* rgb */ color: rgb(52, 87, 24);
/* oklch */ color: oklch(41.5% 0.100 133.9);
Tailwind
colors: {
  custom: {
    50: '#6f8659',
    500: '#345718',
    950: '#000000',
  },
}
SCSS
$custom: #345718;
$custom-light: #6f8659;
$custom-dark: #000000;
JSON
{
  "hex": "#345718",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 93.333,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41548,
    "c": 0.09951,
    "h": 133.9
  },
  "luminance": 0.07612
}

Semantic roles & 50–950 ramp

primary
#345718
secondary
#6A3D8E
accent
#48E09C
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #345718

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

Preview Lab → · Contrast checker → · Palette generator →

#345718 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva