#345A15#345A15

#345A15 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.4% C 0.106 H 134.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#345A15
RGBrgb(52, 90, 21)
HSLhsl(93, 62%, 22%)
HSVhsv(93, 77%, 35%)
CMYKcmyk(42.2%, 0%, 76.7%, 64.7%)
CIE-LABlab(34.18, -26.40, 33.77)
CIE-LCHlch(34.18, 42.87, 128.01°)
OKLaboklab(42.37% -0.0739 0.0762)
OKLCHoklch(42.37% 0.106 134.1)
XYZxyz(5.2076, 8.0963, 1.9977)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A15 #3B155A
analogous
#575A15 #345A15 #155A18
triadic
#345A15 #15345A #5A1534
tetradic
#345A15 #15575A #3B155A #5A1815
square
#345A15 #15575A #3B155A #5A1815
split-complementary
#345A15 #18155A #5A1557
monochromatic
#0E1906 #172809 #345A15 #518C21 #6DBD2C

Accessibility & contrast

On white

8.02
#345A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345A15
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A15#FFFFFF#000000##FFFFFF
##345A151.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345a15;
/* rgb */ color: rgb(52, 90, 21);
/* oklch */ color: oklch(42.4% 0.106 134.1);
Tailwind
colors: {
  custom: {
    50: '#6f8957',
    500: '#345a15',
    950: '#000000',
  },
}
SCSS
$custom: #345a15;
$custom-light: #6f8957;
$custom-dark: #000000;
JSON
{
  "hex": "#345a15",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 93.043,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42374,
    "c": 0.10618,
    "h": 134.1
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#345A15
secondary
#6A3992
accent
#43E59C
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345A15

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

Preview Lab → · Contrast checker → · Palette generator →

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