#345720#345720

#345720 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.6% C 0.092 H 135.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#345720
RGBrgb(52, 87, 32)
HSLhsl(98, 46%, 23%)
HSVhsv(98, 63%, 34%)
CMYKcmyk(40.2%, 0%, 63.2%, 65.9%)
CIE-LABlab(33.24, -23.86, 27.50)
CIE-LCHlch(33.24, 36.40, 130.95°)
OKLaboklab(41.64% -0.066 0.0645)
OKLCHoklch(41.64% 0.092 135.7)
XYZxyz(5.0850, 7.6505, 2.5750)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345720 #432057
analogous
#4F5720 #345720 #205727
triadic
#345720 #203457 #572034
tetradic
#345720 #204F57 #432057 #572720
square
#345720 #204F57 #432057 #572720
split-complementary
#345720 #272057 #57204F
monochromatic
#0D1608 #192A10 #345720 #4F8430 #69B041

Accessibility & contrast

On white

8.30
#345720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#345720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345720
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345720#FFFFFF#000000##FFFFFF
##3457201.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A501A
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#33544B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #345720;
/* rgb */ color: rgb(52, 87, 32);
/* oklch */ color: oklch(41.6% 0.092 135.7);
Tailwind
colors: {
  custom: {
    50: '#6e865e',
    500: '#345720',
    950: '#000000',
  },
}
SCSS
$custom: #345720;
$custom-light: #6e865e;
$custom-dark: #000000;
JSON
{
  "hex": "#345720",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 32
  },
  "hsl": {
    "h": 98.182,
    "s": 46.218,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41642,
    "c": 0.09229,
    "h": 135.7
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#345720
secondary
#73478B
accent
#52D6A6
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #345720

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

Preview Lab → · Contrast checker → · Palette generator →

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