#345715#345715

#345715 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.5% C 0.102 H 133.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#345715
RGBrgb(52, 87, 21)
HSLhsl(92, 61%, 21%)
HSVhsv(92, 76%, 34%)
CMYKcmyk(40.2%, 0%, 75.9%, 65.9%)
CIE-LABlab(33.14, -24.95, 32.71)
CIE-LCHlch(33.14, 41.14, 127.34°)
OKLaboklab(41.52% -0.07 0.074)
OKLCHoklch(41.52% 0.102 133.4)
XYZxyz(4.9596, 7.6004, 1.9150)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345715 #381557
analogous
#555715 #345715 #155717
triadic
#345715 #153457 #571534
tetradic
#345715 #155557 #381557 #571715
square
#345715 #155557 #381557 #571715
split-complementary
#345715 #171557 #571555
monochromatic
#0F1906 #172609 #345715 #518821 #6FBA2D

Accessibility & contrast

On white

8.33
#345715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#345715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345715
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345715#FFFFFF#000000##FFFFFF
##3457151.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500A
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#34534A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #345715;
/* rgb */ color: rgb(52, 87, 21);
/* oklch */ color: oklch(41.5% 0.102 133.4);
Tailwind
colors: {
  custom: {
    50: '#6f8657',
    500: '#345715',
    950: '#000000',
  },
}
SCSS
$custom: #345715;
$custom-light: #6f8657;
$custom-dark: #000000;
JSON
{
  "hex": "#345715",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 91.818,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41519,
    "c": 0.10186,
    "h": 133.4
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#345715
secondary
#66398F
accent
#44E499
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #345715

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

Preview Lab → · Contrast checker → · Palette generator →

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