#345316#345316

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

Color values

HEX#345316
RGBrgb(52, 83, 22)
HSLhsl(90, 58%, 21%)
HSVhsv(90, 73%, 33%)
CMYKcmyk(37.3%, 0%, 73.5%, 67.5%)
CIE-LABlab(31.75, -22.89, 30.82)
CIE-LCHlch(31.75, 38.39, 126.60°)
OKLaboklab(40.39% -0.0643 0.0702)
OKLCHoklch(40.39% 0.095 132.5)
XYZxyz(4.6542, 6.9743, 1.8599)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345316 #351653
analogous
#525316 #345316 #165317
triadic
#345316 #163453 #531634
tetradic
#345316 #165253 #351653 #531716
square
#345316 #165253 #351653 #531716
split-complementary
#345316 #171653 #531652
monochromatic
#0F1806 #162309 #345316 #528323 #71B430

Accessibility & contrast

On white

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

On black

2.40
#345316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##345316#FFFFFF#000000##FFFFFF
##3453161.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345316;
/* rgb */ color: rgb(52, 83, 22);
/* oklch */ color: oklch(40.4% 0.095 132.5);
Tailwind
colors: {
  custom: {
    50: '#6e8357',
    500: '#345316',
    950: '#000000',
  },
}
SCSS
$custom: #345316;
$custom-light: #6e8357;
$custom-dark: #000000;
JSON
{
  "hex": "#345316",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 90.492,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40389,
    "c": 0.09518,
    "h": 132.5
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#345316
secondary
#633A8A
accent
#46E195
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345316

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

Preview Lab → · Contrast checker → · Palette generator →

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