#345311#345311

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

Color values

HEX#345311
RGBrgb(52, 83, 17)
HSLhsl(88, 66%, 20%)
HSVhsv(88, 80%, 33%)
CMYKcmyk(37.3%, 0%, 79.5%, 67.5%)
CIE-LABlab(31.71, -23.29, 32.96)
CIE-LCHlch(31.71, 40.36, 125.24°)
OKLaboklab(40.34% -0.0658 0.0739)
OKLCHoklch(40.34% 0.099 131.7)
XYZxyz(4.6106, 6.9569, 1.6301)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345311 #301153
analogous
#535111 #345311 #135311
triadic
#345311 #113453 #531134
tetradic
#345311 #115351 #301153 #531113
square
#345311 #115351 #301153 #531113
split-complementary
#345311 #111353 #511153
monochromatic
#101905 #142007 #345311 #54861B #74B926

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345311#FFFFFF#000000##FFFFFF
##3453111.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)
#574C05
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#354F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #345311;
/* rgb */ color: rgb(52, 83, 17);
/* oklch */ color: oklch(40.3% 0.099 131.7);
Tailwind
colors: {
  custom: {
    50: '#6f8354',
    500: '#345311',
    950: '#000000',
  },
}
SCSS
$custom: #345311;
$custom-light: #6f8354;
$custom-dark: #000000;
JSON
{
  "hex": "#345311",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 88.182,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40344,
    "c": 0.09894,
    "h": 131.7
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#345311
secondary
#5D348C
accent
#3FE98F
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #345311

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

Preview Lab → · Contrast checker → · Palette generator →

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