#345415#345415

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

Color values

HEX#345415
RGBrgb(52, 84, 21)
HSLhsl(90, 60%, 21%)
HSVhsv(90, 75%, 33%)
CMYKcmyk(38.1%, 0%, 75%, 67.1%)
CIE-LABlab(32.09, -23.47, 31.63)
CIE-LCHlch(32.09, 39.39, 126.58°)
OKLaboklab(40.66% -0.066 0.0718)
OKLCHoklch(40.66% 0.097 132.6)
XYZxyz(4.7218, 7.1247, 1.8357)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345415 #351554
analogous
#535415 #345415 #155415
triadic
#345415 #153454 #541534
tetradic
#345415 #155354 #351554 #541515
square
#345415 #155354 #351554 #541515
split-complementary
#345415 #151554 #541553
monochromatic
#0F1806 #162309 #345415 #528521 #71B62D

Accessibility & contrast

On white

8.66
#345415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#345415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345415
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345415#FFFFFF#000000##FFFFFF
##3454151.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0B
Deuteranopia (green-blind)
#534B1B
Tritanopia (blue-blind)
#355047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #345415;
/* rgb */ color: rgb(52, 84, 21);
/* oklch */ color: oklch(40.7% 0.097 132.6);
Tailwind
colors: {
  custom: {
    50: '#6e8456',
    500: '#345415',
    950: '#000000',
  },
}
SCSS
$custom: #345415;
$custom-light: #6e8456;
$custom-dark: #000000;
JSON
{
  "hex": "#345415",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 21
  },
  "hsl": {
    "h": 90.476,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40664,
    "c": 0.09746,
    "h": 132.6
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#345415
secondary
#63398C
accent
#45E395
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #345415

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

Preview Lab → · Contrast checker → · Palette generator →

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