#345A11#345A11

#345A11 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.109 H 133.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#345A11
RGBrgb(52, 90, 17)
HSLhsl(91, 68%, 21%)
HSVhsv(91, 81%, 35%)
CMYKcmyk(42.2%, 0%, 81.1%, 64.7%)
CIE-LABlab(34.15, -26.69, 35.36)
CIE-LCHlch(34.15, 44.30, 127.05°)
OKLaboklab(42.34% -0.075 0.0789)
OKLCHoklch(42.34% 0.109 133.6)
XYZxyz(5.1734, 8.0826, 1.8177)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A11 #37115A
analogous
#585A11 #345A11 #115A12
triadic
#345A11 #11345A #5A1134
tetradic
#345A11 #11585A #37115A #5A1211
square
#345A11 #11585A #37115A #5A1211
split-complementary
#345A11 #12115A #5A1158
monochromatic
#0F1A05 #162707 #345A11 #528D1B #6FC124

Accessibility & contrast

On white

8.03
#345A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#345A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345A11
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A11#FFFFFF#000000##FFFFFF
##345A111.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5203
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#34564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345a11;
/* rgb */ color: rgb(52, 90, 17);
/* oklch */ color: oklch(42.3% 0.109 133.6);
Tailwind
colors: {
  custom: {
    50: '#6f8955',
    500: '#345a11',
    950: '#000000',
  },
}
SCSS
$custom: #345a11;
$custom-light: #6f8955;
$custom-dark: #000000;
JSON
{
  "hex": "#345a11",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 91.233,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.10887,
    "h": 133.6
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#345A11
secondary
#653493
accent
#3DEB97
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345A11

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

Preview Lab → · Contrast checker → · Palette generator →

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