#345F16#345F16

#345F16 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.8% C 0.113 H 135.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#345F16
RGBrgb(52, 95, 22)
HSLhsl(95, 62%, 23%)
HSVhsv(95, 77%, 37%)
CMYKcmyk(45.3%, 0%, 76.8%, 62.7%)
CIE-LABlab(35.93, -28.67, 35.12)
CIE-LCHlch(35.93, 45.33, 129.22°)
OKLaboklab(43.81% -0.08 0.0792)
OKLCHoklch(43.81% 0.113 135.3)
XYZxyz(5.6531, 8.9721, 2.1928)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345F16 #41165F
analogous
#585F16 #345F16 #165F1C
triadic
#345F16 #16345F #5F1634
tetradic
#345F16 #16585F #41165F #5F1C16
square
#345F16 #16585F #41165F #5F1C16
split-complementary
#345F16 #1C165F #5F1658
monochromatic
#0E1906 #192D0A #345F16 #4F9122 #6AC22D

Accessibility & contrast

On white

7.52
#345F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#345F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345F16
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345F16#FFFFFF#000000##FFFFFF
##345F161.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635709
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#335B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345f16;
/* rgb */ color: rgb(52, 95, 22);
/* oklch */ color: oklch(43.8% 0.113 135.3);
Tailwind
colors: {
  custom: {
    50: '#708d58',
    500: '#345f16',
    950: '#000000',
  },
}
SCSS
$custom: #345f16;
$custom-light: #708d58;
$custom-dark: #000000;
JSON
{
  "hex": "#345f16",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 95.342,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43808,
    "c": 0.11257,
    "h": 135.3
  },
  "luminance": 0.08972
}

Semantic roles & 50–950 ramp

primary
#345F16
secondary
#713B96
accent
#42E5A2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #345F16

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

Preview Lab → · Contrast checker → · Palette generator →

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