#345215#345215

#345215 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.1% C 0.095 H 132.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#345215
RGBrgb(52, 82, 21)
HSLhsl(90, 59%, 20%)
HSVhsv(90, 74%, 32%)
CMYKcmyk(36.6%, 0%, 74.4%, 67.8%)
CIE-LABlab(31.39, -22.47, 30.90)
CIE-LCHlch(31.39, 38.21, 126.02°)
OKLaboklab(40.1% -0.0632 0.0702)
OKLCHoklch(40.1% 0.095 132)
XYZxyz(4.5688, 6.8186, 1.7847)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345215 #331552
analogous
#525115 #345215 #165215
triadic
#345215 #153452 #521534
tetradic
#345215 #155251 #331552 #521516
square
#345215 #155251 #331552 #521516
split-complementary
#345215 #151652 #511552
monochromatic
#0F1806 #152109 #345215 #538321 #72B32E

Accessibility & contrast

On white

8.88
#345215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#345215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345215
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345215#FFFFFF#000000##FFFFFF
##3452151.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0C
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#354E46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #345215;
/* rgb */ color: rgb(52, 82, 21);
/* oklch */ color: oklch(40.1% 0.095 132.0);
Tailwind
colors: {
  custom: {
    50: '#6e8356',
    500: '#345215',
    950: '#000000',
  },
}
SCSS
$custom: #345215;
$custom-light: #6e8356;
$custom-dark: #000000;
JSON
{
  "hex": "#345215",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 89.508,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40095,
    "c": 0.0945,
    "h": 132
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#345215
secondary
#61398A
accent
#45E293
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345215

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

Preview Lab → · Contrast checker → · Palette generator →

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