#345C16#345C16

#345C16 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.0% C 0.108 H 134.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#345C16
RGBrgb(52, 92, 22)
HSLhsl(94, 61%, 22%)
HSVhsv(94, 76%, 36%)
CMYKcmyk(43.5%, 0%, 76.1%, 63.9%)
CIE-LABlab(34.89, -27.27, 34.06)
CIE-LCHlch(34.89, 43.63, 128.68°)
OKLaboklab(42.95% -0.0762 0.077)
OKLCHoklch(42.95% 0.108 134.7)
XYZxyz(5.3880, 8.4420, 2.1045)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C16 #3E165C
analogous
#575C16 #345C16 #165C1B
triadic
#345C16 #16345C #5C1634
tetradic
#345C16 #16575C #3E165C #5C1B16
square
#345C16 #16575C #3E165C #5C1B16
split-complementary
#345C16 #1B165C #5C1657
monochromatic
#0E1906 #182B0A #345C16 #508D22 #6CBF2E

Accessibility & contrast

On white

7.81
#345C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#345C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345C16
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C16#FFFFFF#000000##FFFFFF
##345C161.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540A
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#33584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345c16;
/* rgb */ color: rgb(52, 92, 22);
/* oklch */ color: oklch(43.0% 0.108 134.7);
Tailwind
colors: {
  custom: {
    50: '#6f8a58',
    500: '#345c16',
    950: '#000000',
  },
}
SCSS
$custom: #345c16;
$custom-light: #6f8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#345c16",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 94.286,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42953,
    "c": 0.10832,
    "h": 134.7
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#345C16
secondary
#6D3B93
accent
#43E59F
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #345C16

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

Preview Lab → · Contrast checker → · Palette generator →

#345C16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva