#345310#345310

#345310 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.100 H 131.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#345310
RGBrgb(52, 83, 16)
HSLhsl(88, 68%, 19%)
HSVhsv(88, 81%, 33%)
CMYKcmyk(37.3%, 0%, 80.7%, 67.5%)
CIE-LABlab(31.70, -23.36, 33.36)
CIE-LCHlch(31.70, 40.73, 125.00°)
OKLaboklab(40.34% -0.0661 0.0745)
OKLCHoklch(40.34% 0.1 131.6)
XYZxyz(4.6029, 6.9538, 1.5898)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345310 #2F1053
analogous
#535110 #345310 #135310
triadic
#345310 #103453 #531034
tetradic
#345310 #105351 #2F1053 #531013
square
#345310 #105351 #2F1053 #531013
split-complementary
#345310 #101353 #511053
monochromatic
#101A05 #142006 #345310 #54861A #74BA24

Accessibility & contrast

On white

8.78
#345310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345310
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345310#FFFFFF#000000##FFFFFF
##3453101.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#354F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #345310;
/* rgb */ color: rgb(52, 83, 16);
/* oklch */ color: oklch(40.3% 0.100 131.6);
Tailwind
colors: {
  custom: {
    50: '#6f8354',
    500: '#345310',
    950: '#000000',
  },
}
SCSS
$custom: #345310;
$custom-light: #6f8354;
$custom-dark: #000000;
JSON
{
  "hex": "#345310",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 87.761,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40336,
    "c": 0.09962,
    "h": 131.6
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#345310
secondary
#5C328D
accent
#3DEB8D
background
#F6F8F5
surface
#ECEFE8
border
#C7CAC4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345310

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

Preview Lab → · Contrast checker → · Palette generator →

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