#345711#345711

#345711 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.5% C 0.105 H 132.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#345711
RGBrgb(52, 87, 17)
HSLhsl(90, 67%, 20%)
HSVhsv(90, 80%, 34%)
CMYKcmyk(40.2%, 0%, 80.5%, 65.9%)
CIE-LABlab(33.11, -25.26, 34.34)
CIE-LCHlch(33.11, 42.63, 126.33°)
OKLaboklab(41.49% -0.0711 0.0768)
OKLCHoklch(41.49% 0.105 132.8)
XYZxyz(4.9255, 7.5867, 1.7351)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345711 #341157
analogous
#575711 #345711 #115711
triadic
#345711 #113457 #571134
tetradic
#345711 #115757 #341157 #571111
square
#345711 #115757 #341157 #571111
split-complementary
#345711 #111157 #571157
monochromatic
#0F1A05 #152407 #345711 #538A1B #71BD25

Accessibility & contrast

On white

8.34
#345711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#345711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345711
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345711#FFFFFF#000000##FFFFFF
##3457111.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5004
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#34534A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #345711;
/* rgb */ color: rgb(52, 87, 17);
/* oklch */ color: oklch(41.5% 0.105 132.8);
Tailwind
colors: {
  custom: {
    50: '#6f8655',
    500: '#345711',
    950: '#000000',
  },
}
SCSS
$custom: #345711;
$custom-light: #6f8655;
$custom-dark: #000000;
JSON
{
  "hex": "#345711",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 90,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41486,
    "c": 0.10466,
    "h": 132.8
  },
  "luminance": 0.07587
}

Semantic roles & 50–950 ramp

primary
#345711
secondary
#623490
accent
#3EEA94
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345711

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

Preview Lab → · Contrast checker → · Palette generator →

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