#345315#345315

#345315 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.096 H 132.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#345315
RGBrgb(52, 83, 21)
HSLhsl(90, 60%, 20%)
HSVhsv(90, 75%, 33%)
CMYKcmyk(37.3%, 0%, 74.7%, 67.5%)
CIE-LABlab(31.74, -22.97, 31.27)
CIE-LCHlch(31.74, 38.80, 126.31°)
OKLaboklab(40.38% -0.0646 0.071)
OKLCHoklch(40.38% 0.096 132.3)
XYZxyz(4.6447, 6.9705, 1.8100)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345315 #341553
analogous
#535315 #345315 #155315
triadic
#345315 #153453 #531534
tetradic
#345315 #155353 #341553 #531515
square
#345315 #155353 #341553 #531515
split-complementary
#345315 #151553 #531553
monochromatic
#0F1806 #152209 #345315 #538421 #71B52E

Accessibility & contrast

On white

8.77
#345315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#345315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345315
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345315#FFFFFF#000000##FFFFFF
##3453151.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0C
Deuteranopia (green-blind)
#524A1A
Tritanopia (blue-blind)
#354F47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #345315;
/* rgb */ color: rgb(52, 83, 21);
/* oklch */ color: oklch(40.4% 0.096 132.3);
Tailwind
colors: {
  custom: {
    50: '#6e8356',
    500: '#345315',
    950: '#000000',
  },
}
SCSS
$custom: #345315;
$custom-light: #6e8356;
$custom-dark: #000000;
JSON
{
  "hex": "#345315",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 90,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.09598,
    "h": 132.3
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#345315
secondary
#62398B
accent
#45E394
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345315

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

Preview Lab → · Contrast checker → · Palette generator →

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