#345815#345815

#345815 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.103 H 133.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#345815
RGBrgb(52, 88, 21)
HSLhsl(92, 61%, 21%)
HSVhsv(92, 76%, 35%)
CMYKcmyk(40.9%, 0%, 76.1%, 65.5%)
CIE-LABlab(33.49, -25.44, 33.06)
CIE-LCHlch(33.49, 41.72, 127.57°)
OKLaboklab(41.8% -0.0713 0.0748)
OKLCHoklch(41.8% 0.103 133.6)
XYZxyz(5.0412, 7.7634, 1.9422)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345815 #391558
analogous
#565815 #345815 #155818
triadic
#345815 #153458 #581534
tetradic
#345815 #155658 #391558 #581815
square
#345815 #155658 #391558 #581815
split-complementary
#345815 #181558 #581556
monochromatic
#0F1906 #172709 #345815 #518921 #6EBB2D

Accessibility & contrast

On white

8.23
#345815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#345815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345815
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345815#FFFFFF#000000##FFFFFF
##3458151.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510A
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#34544B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #345815;
/* rgb */ color: rgb(52, 88, 21);
/* oklch */ color: oklch(41.8% 0.103 133.6);
Tailwind
colors: {
  custom: {
    50: '#6f8757',
    500: '#345815',
    950: '#000000',
  },
}
SCSS
$custom: #345815;
$custom-light: #6f8757;
$custom-dark: #000000;
JSON
{
  "hex": "#345815",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 92.239,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41804,
    "c": 0.1033,
    "h": 133.6
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#345815
secondary
#683990
accent
#43E59A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345815

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

Preview Lab → · Contrast checker → · Palette generator →

#345815 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva