#345417#345417

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

Color values

HEX#345417
RGBrgb(52, 84, 23)
HSLhsl(91, 57%, 21%)
HSVhsv(91, 73%, 33%)
CMYKcmyk(38.1%, 0%, 72.6%, 67.1%)
CIE-LABlab(32.11, -23.30, 30.73)
CIE-LCHlch(32.11, 38.56, 127.17°)
OKLaboklab(40.68% -0.0653 0.0702)
OKLCHoklch(40.68% 0.096 132.9)
XYZxyz(4.7411, 7.1324, 1.9373)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345417 #371754
analogous
#525417 #345417 #175418
triadic
#345417 #173454 #541734
tetradic
#345417 #175254 #371754 #541817
square
#345417 #175254 #371754 #541817
split-complementary
#345417 #181754 #541752
monochromatic
#0F1807 #16240A #345417 #528424 #6FB431

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345417#FFFFFF#000000##FFFFFF
##3454171.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)
#584D0F
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#345048
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #345417;
/* rgb */ color: rgb(52, 84, 23);
/* oklch */ color: oklch(40.7% 0.096 132.9);
Tailwind
colors: {
  custom: {
    50: '#6e8458',
    500: '#345417',
    950: '#000000',
  },
}
SCSS
$custom: #345417;
$custom-light: #6e8458;
$custom-dark: #000000;
JSON
{
  "hex": "#345417",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 23
  },
  "hsl": {
    "h": 91.475,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.09586,
    "h": 132.9
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#345417
secondary
#653C8B
accent
#48E098
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #345417

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

Preview Lab → · Contrast checker → · Palette generator →

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