#345418#345418

#345418 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.095 H 133.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#345418
RGBrgb(52, 84, 24)
HSLhsl(92, 56%, 21%)
HSVhsv(92, 71%, 33%)
CMYKcmyk(38.1%, 0%, 71.4%, 67.1%)
CIE-LABlab(32.12, -23.21, 30.27)
CIE-LCHlch(32.12, 38.14, 127.48°)
OKLaboklab(40.69% -0.065 0.0693)
OKLCHoklch(40.69% 0.095 133.1)
XYZxyz(4.7513, 7.1365, 1.9911)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345418 #381854
analogous
#525418 #345418 #18541A
triadic
#345418 #183454 #541834
tetradic
#345418 #185254 #381854 #541A18
square
#345418 #185254 #381854 #541A18
split-complementary
#345418 #1A1854 #541852
monochromatic
#0F1807 #17240A #345418 #518426 #6FB333

Accessibility & contrast

On white

8.65
#345418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#345418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345418
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345418#FFFFFF#000000##FFFFFF
##3454181.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D10
Deuteranopia (green-blind)
#534B1D
Tritanopia (blue-blind)
#345048
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #345418;
/* rgb */ color: rgb(52, 84, 24);
/* oklch */ color: oklch(40.7% 0.095 133.1);
Tailwind
colors: {
  custom: {
    50: '#6e8458',
    500: '#345418',
    950: '#000000',
  },
}
SCSS
$custom: #345418;
$custom-light: #6e8458;
$custom-dark: #000000;
JSON
{
  "hex": "#345418",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 24
  },
  "hsl": {
    "h": 92,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40694,
    "c": 0.09501,
    "h": 133.1
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#345418
secondary
#663D8B
accent
#49DF99
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #345418

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

Preview Lab → · Contrast checker → · Palette generator →

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