#345313#345313

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

Color values

HEX#345313
RGBrgb(52, 83, 19)
HSLhsl(89, 63%, 20%)
HSVhsv(89, 77%, 33%)
CMYKcmyk(37.3%, 0%, 77.1%, 67.5%)
CIE-LABlab(31.72, -23.14, 32.14)
CIE-LCHlch(31.72, 39.60, 125.75°)
OKLaboklab(40.36% -0.0652 0.0725)
OKLCHoklch(40.36% 0.098 132)
XYZxyz(4.6269, 6.9634, 1.7163)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345313 #321353
analogous
#535213 #345313 #145313
triadic
#345313 #133453 #531334
tetradic
#345313 #135352 #321353 #531314
square
#345313 #135352 #321353 #531314
split-complementary
#345313 #131453 #521353
monochromatic
#101906 #152108 #345313 #53851E #72B72A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345313#FFFFFF#000000##FFFFFF
##3453131.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)
#574C08
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#354F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #345313;
/* rgb */ color: rgb(52, 83, 19);
/* oklch */ color: oklch(40.4% 0.098 132.0);
Tailwind
colors: {
  custom: {
    50: '#6e8355',
    500: '#345313',
    950: '#000000',
  },
}
SCSS
$custom: #345313;
$custom-light: #6e8355;
$custom-dark: #000000;
JSON
{
  "hex": "#345313",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 89.063,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.40361,
    "c": 0.09752,
    "h": 132
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#345313
secondary
#60368B
accent
#42E691
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345313

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

Preview Lab → · Contrast checker → · Palette generator →

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