#345618#345618

#345618 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.3% C 0.098 H 133.7°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#345618
RGBrgb(52, 86, 24)
HSLhsl(93, 56%, 22%)
HSVhsv(93, 72%, 34%)
CMYKcmyk(39.5%, 0%, 72.1%, 66.3%)
CIE-LABlab(32.81, -24.20, 31.01)
CIE-LCHlch(32.81, 39.34, 127.97°)
OKLaboklab(41.26% -0.0677 0.0709)
OKLCHoklch(41.26% 0.098 133.7)
XYZxyz(4.9087, 7.4514, 2.0436)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345618 #3A1856
analogous
#535618 #345618 #18561B
triadic
#345618 #183456 #561834
tetradic
#345618 #185356 #3A1856 #561B18
square
#345618 #185356 #3A1856 #561B18
split-complementary
#345618 #1B1856 #561853
monochromatic
#0E1807 #17260B #345618 #518625 #6EB633

Accessibility & contrast

On white

8.43
#345618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#345618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345618
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345618#FFFFFF#000000##FFFFFF
##3456181.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F10
Deuteranopia (green-blind)
#554C1D
Tritanopia (blue-blind)
#345249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #345618;
/* rgb */ color: rgb(52, 86, 24);
/* oklch */ color: oklch(41.3% 0.098 133.7);
Tailwind
colors: {
  custom: {
    50: '#6f8658',
    500: '#345618',
    950: '#000000',
  },
}
SCSS
$custom: #345618;
$custom-light: #6f8658;
$custom-dark: #000000;
JSON
{
  "hex": "#345618",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 92.903,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41263,
    "c": 0.09802,
    "h": 133.7
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#345618
secondary
#693D8D
accent
#48E09B
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #345618

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

Preview Lab → · Contrast checker → · Palette generator →

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