#345B14#345B14

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

Color values

HEX#345B14
RGBrgb(52, 91, 20)
HSLhsl(93, 64%, 22%)
HSVhsv(93, 78%, 36%)
CMYKcmyk(42.9%, 0%, 78%, 64.3%)
CIE-LABlab(34.52, -26.95, 34.53)
CIE-LCHlch(34.52, 43.81, 127.97°)
OKLaboklab(42.65% -0.0755 0.0777)
OKLCHoklch(42.65% 0.108 134.2)
XYZxyz(5.2834, 8.2625, 1.9781)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345B14 #3B145B
analogous
#585B14 #345B14 #145B18
triadic
#345B14 #14345B #5B1434
tetradic
#345B14 #14585B #3B145B #5B1814
square
#345B14 #14585B #3B145B #5B1814
split-complementary
#345B14 #18145B #5B1458
monochromatic
#0E1906 #172909 #345B14 #518D1F #6DBF2A

Accessibility & contrast

On white

7.92
#345B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345B14
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345B14#FFFFFF#000000##FFFFFF
##345B141.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5307
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#34574D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #345b14;
/* rgb */ color: rgb(52, 91, 20);
/* oklch */ color: oklch(42.7% 0.108 134.2);
Tailwind
colors: {
  custom: {
    50: '#6f8a57',
    500: '#345b14',
    950: '#000000',
  },
}
SCSS
$custom: #345b14;
$custom-light: #6f8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#345b14",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 92.958,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42651,
    "c": 0.10831,
    "h": 134.2
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#345B14
secondary
#6A3893
accent
#41E79C
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345B14

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

Preview Lab → · Contrast checker → · Palette generator →

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