#345B11#345B11

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

Color values

HEX#345B11
RGBrgb(52, 91, 17)
HSLhsl(92, 69%, 21%)
HSVhsv(92, 81%, 36%)
CMYKcmyk(42.9%, 0%, 81.3%, 64.3%)
CIE-LABlab(34.50, -27.17, 35.70)
CIE-LCHlch(34.50, 44.86, 127.27°)
OKLaboklab(42.63% -0.0763 0.0796)
OKLCHoklch(42.63% 0.11 133.8)
XYZxyz(5.2583, 8.2524, 1.8460)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345B11 #38115B
analogous
#595B11 #345B11 #115B13
triadic
#345B11 #11345B #5B1134
tetradic
#345B11 #11595B #38115B #5B1311
square
#345B11 #11595B #38115B #5B1311
split-complementary
#345B11 #13115B #5B1159
monochromatic
#0F1A05 #172707 #345B11 #518F1B #6FC224

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345B11#FFFFFF#000000##FFFFFF
##345B111.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)
#5F5302
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#34574D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #345b11;
/* rgb */ color: rgb(52, 91, 17);
/* oklch */ color: oklch(42.6% 0.110 133.8);
Tailwind
colors: {
  custom: {
    50: '#708a55',
    500: '#345b11',
    950: '#000000',
  },
}
SCSS
$custom: #345b11;
$custom-light: #708a55;
$custom-dark: #000000;
JSON
{
  "hex": "#345b11",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 91.622,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.11027,
    "h": 133.8
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#345B11
secondary
#663494
accent
#3CEB99
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345B11

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

Preview Lab → · Contrast checker → · Palette generator →

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