#345116#345116

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

Color values

HEX#345116
RGBrgb(52, 81, 22)
HSLhsl(89, 57%, 20%)
HSVhsv(89, 73%, 32%)
CMYKcmyk(35.8%, 0%, 72.8%, 68.2%)
CIE-LABlab(31.05, -21.87, 30.08)
CIE-LCHlch(31.05, 37.19, 126.02°)
OKLaboklab(39.82% -0.0615 0.0687)
OKLCHoklch(39.82% 0.092 131.9)
XYZxyz(4.5034, 6.6727, 1.8096)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345116 #331651
analogous
#515116 #345116 #165116
triadic
#345116 #163451 #511634
tetradic
#345116 #165151 #331651 #511616
square
#345116 #165151 #331651 #511616
split-complementary
#345116 #161651 #511651
monochromatic
#0F1807 #152109 #345116 #538123 #72B130

Accessibility & contrast

On white

9.00
#345116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#345116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345116
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345116#FFFFFF#000000##FFFFFF
##3451161.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345116;
/* rgb */ color: rgb(52, 81, 22);
/* oklch */ color: oklch(39.8% 0.092 131.9);
Tailwind
colors: {
  custom: {
    50: '#6e8257',
    500: '#345116',
    950: '#000000',
  },
}
SCSS
$custom: #345116;
$custom-light: #6e8257;
$custom-dark: #000000;
JSON
{
  "hex": "#345116",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 89.492,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3982,
    "c": 0.09218,
    "h": 131.9
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

primary
#345116
secondary
#613A88
accent
#47E193
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345116

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

Preview Lab → · Contrast checker → · Palette generator →

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