#345117#345117

#345117 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.091 H 132.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#345117
RGBrgb(52, 81, 23)
HSLhsl(90, 56%, 20%)
HSVhsv(90, 72%, 32%)
CMYKcmyk(35.8%, 0%, 71.6%, 68.2%)
CIE-LABlab(31.06, -21.78, 29.61)
CIE-LCHlch(31.06, 36.76, 126.34°)
OKLaboklab(39.83% -0.0612 0.0678)
OKLCHoklch(39.83% 0.091 132)
XYZxyz(4.5132, 6.6766, 1.8614)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345117 #341751
analogous
#515117 #345117 #175117
triadic
#345117 #173451 #511734
tetradic
#345117 #175151 #341751 #511717
square
#345117 #175151 #341751 #511717
split-complementary
#345117 #171751 #511751
monochromatic
#0F1807 #152109 #345117 #538125 #71B032

Accessibility & contrast

On white

8.99
#345117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#345117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345117
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345117#FFFFFF#000000##FFFFFF
##3451171.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0F
Deuteranopia (green-blind)
#51481C
Tritanopia (blue-blind)
#354D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #345117;
/* rgb */ color: rgb(52, 81, 23);
/* oklch */ color: oklch(39.8% 0.091 132.0);
Tailwind
colors: {
  custom: {
    50: '#6e8257',
    500: '#345117',
    950: '#000000',
  },
}
SCSS
$custom: #345117;
$custom-light: #6e8257;
$custom-dark: #000000;
JSON
{
  "hex": "#345117",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 90,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3983,
    "c": 0.09132,
    "h": 132
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#345117
secondary
#623C88
accent
#49DF94
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345117

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

Preview Lab → · Contrast checker → · Palette generator →

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