#345E1B#345E1B

#345E1B is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.6% C 0.107 H 135.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#345E1B
RGBrgb(52, 94, 27)
HSLhsl(98, 55%, 24%)
HSVhsv(98, 71%, 37%)
CMYKcmyk(44.7%, 0%, 71.3%, 63.1%)
CIE-LABlab(35.62, -27.77, 32.60)
CIE-LCHlch(35.62, 42.83, 130.42°)
OKLaboklab(43.57% -0.0771 0.0747)
OKLCHoklch(43.57% 0.107 135.9)
XYZxyz(5.6166, 8.8143, 2.4421)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345E1B #451B5E
analogous
#555E1B #345E1B #1B5E23
triadic
#345E1B #1B345E #5E1B34
tetradic
#345E1B #1B555E #451B5E #5E231B
square
#345E1B #1B555E #451B5E #5E231B
split-complementary
#345E1B #231B5E #5E1B55
monochromatic
#0D1807 #1A2E0D #345E1B #4E8E29 #69BD36

Accessibility & contrast

On white

7.60
#345E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#345E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345E1B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345E1B#FFFFFF#000000##FFFFFF
##345E1B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615612
Deuteranopia (green-blind)
#5C5221
Tritanopia (blue-blind)
#335A50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345e1b;
/* rgb */ color: rgb(52, 94, 27);
/* oklch */ color: oklch(43.6% 0.107 135.9);
Tailwind
colors: {
  custom: {
    50: '#6f8c5b',
    500: '#345e1b',
    950: '#000000',
  },
}
SCSS
$custom: #345e1b;
$custom-light: #6f8c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#345e1b",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 97.612,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4357,
    "c": 0.10736,
    "h": 135.9
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#345E1B
secondary
#754194
accent
#49DFA7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #345E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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