#345317#345317

#345317 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.094 H 132.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#345317
RGBrgb(52, 83, 23)
HSLhsl(91, 57%, 21%)
HSVhsv(91, 72%, 33%)
CMYKcmyk(37.3%, 0%, 72.3%, 67.5%)
CIE-LABlab(31.76, -22.80, 30.36)
CIE-LCHlch(31.76, 37.97, 126.90°)
OKLaboklab(40.4% -0.0639 0.0694)
OKLCHoklch(40.4% 0.094 132.7)
XYZxyz(4.6640, 6.9783, 1.9116)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345317 #361753
analogous
#525317 #345317 #175318
triadic
#345317 #173453 #531734
tetradic
#345317 #175253 #361753 #531817
square
#345317 #175253 #361753 #531817
split-complementary
#345317 #181753 #531752
monochromatic
#0F1807 #16230A #345317 #528324 #70B332

Accessibility & contrast

On white

8.77
#345317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#345317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345317
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345317#FFFFFF#000000##FFFFFF
##3453171.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0F
Deuteranopia (green-blind)
#524A1C
Tritanopia (blue-blind)
#344F47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #345317;
/* rgb */ color: rgb(52, 83, 23);
/* oklch */ color: oklch(40.4% 0.094 132.7);
Tailwind
colors: {
  custom: {
    50: '#6e8357',
    500: '#345317',
    950: '#000000',
  },
}
SCSS
$custom: #345317;
$custom-light: #6e8357;
$custom-dark: #000000;
JSON
{
  "hex": "#345317",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 91,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.09436,
    "h": 132.7
  },
  "luminance": 0.06978
}

Semantic roles & 50–950 ramp

primary
#345317
secondary
#643C8A
accent
#48E096
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345317

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

Preview Lab → · Contrast checker → · Palette generator →

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