#345B16#345B16

#345B16 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.7% C 0.107 H 134.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#345B16
RGBrgb(52, 91, 22)
HSLhsl(94, 61%, 22%)
HSVhsv(94, 76%, 36%)
CMYKcmyk(42.9%, 0%, 75.8%, 64.3%)
CIE-LABlab(34.54, -26.79, 33.71)
CIE-LCHlch(34.54, 43.06, 128.48°)
OKLaboklab(42.67% -0.0749 0.0763)
OKLCHoklch(42.67% 0.107 134.5)
XYZxyz(5.3020, 8.2699, 2.0758)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345B16 #3D165B
analogous
#575B16 #345B16 #165B1B
triadic
#345B16 #16345B #5B1634
tetradic
#345B16 #16575B #3D165B #5B1B16
square
#345B16 #16575B #3D165B #5B1B16
split-complementary
#345B16 #1B165B #5B1657
monochromatic
#0E1906 #182A0A #345B16 #508C22 #6CBE2E

Accessibility & contrast

On white

7.91
#345B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#345B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345B16
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345B16#FFFFFF#000000##FFFFFF
##345B161.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530B
Deuteranopia (green-blind)
#59501C
Tritanopia (blue-blind)
#33574D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #345b16;
/* rgb */ color: rgb(52, 91, 22);
/* oklch */ color: oklch(42.7% 0.107 134.5);
Tailwind
colors: {
  custom: {
    50: '#6f8a58',
    500: '#345b16',
    950: '#000000',
  },
}
SCSS
$custom: #345b16;
$custom-light: #6f8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#345b16",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 93.913,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42668,
    "c": 0.10689,
    "h": 134.5
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#345B16
secondary
#6C3B92
accent
#44E49E
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345B16

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

Preview Lab → · Contrast checker → · Palette generator →

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