#345F15#345F15

#345F15 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.8% C 0.113 H 135.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#345F15
RGBrgb(52, 95, 21)
HSLhsl(95, 64%, 23%)
HSVhsv(95, 78%, 37%)
CMYKcmyk(45.3%, 0%, 77.9%, 62.7%)
CIE-LABlab(35.92, -28.74, 35.52)
CIE-LCHlch(35.92, 45.70, 128.98°)
OKLaboklab(43.8% -0.0803 0.0799)
OKLCHoklch(43.8% 0.113 135.1)
XYZxyz(5.6436, 8.9683, 2.1430)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345F15 #40155F
analogous
#595F15 #345F15 #155F1B
triadic
#345F15 #15345F #5F1534
tetradic
#345F15 #15595F #40155F #5F1B15
square
#345F15 #15595F #40155F #5F1B15
split-complementary
#345F15 #1B155F #5F1559
monochromatic
#0E1906 #192D0A #345F15 #4F9120 #6BC32B

Accessibility & contrast

On white

7.52
#345F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#345F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345F15
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345F15#FFFFFF#000000##FFFFFF
##345F151.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635707
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#335B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345f15;
/* rgb */ color: rgb(52, 95, 21);
/* oklch */ color: oklch(43.8% 0.113 135.1);
Tailwind
colors: {
  custom: {
    50: '#708d58',
    500: '#345f15',
    950: '#000000',
  },
}
SCSS
$custom: #345f15;
$custom-light: #708d58;
$custom-dark: #000000;
JSON
{
  "hex": "#345f15",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 94.865,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43799,
    "c": 0.11325,
    "h": 135.1
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#345F15
secondary
#6F3A96
accent
#41E7A1
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #345F15

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

Preview Lab → · Contrast checker → · Palette generator →

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