#345512#345512

#345512 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.101 H 132.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#345512
RGBrgb(52, 85, 18)
HSLhsl(90, 65%, 20%)
HSVhsv(90, 79%, 33%)
CMYKcmyk(38.8%, 0%, 78.8%, 66.7%)
CIE-LABlab(32.41, -24.21, 33.25)
CIE-LCHlch(32.41, 41.13, 126.05°)
OKLaboklab(40.92% -0.0682 0.0747)
OKLCHoklch(40.92% 0.101 132.4)
XYZxyz(4.7738, 7.2705, 1.7240)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345512 #331255
analogous
#555412 #345512 #125512
triadic
#345512 #123455 #551234
tetradic
#345512 #125554 #331255 #551212
square
#345512 #125554 #331255 #551212
split-complementary
#345512 #121255 #541255
monochromatic
#0F1905 #152207 #345512 #53881D #72BA27

Accessibility & contrast

On white

8.56
#345512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#345512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345512
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345512#FFFFFF#000000##FFFFFF
##3455121.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#355148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #345512;
/* rgb */ color: rgb(52, 85, 18);
/* oklch */ color: oklch(40.9% 0.101 132.4);
Tailwind
colors: {
  custom: {
    50: '#6f8555',
    500: '#345512',
    950: '#000000',
  },
}
SCSS
$custom: #345512;
$custom-light: #6f8555;
$custom-dark: #000000;
JSON
{
  "hex": "#345512",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 89.552,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40923,
    "c": 0.10113,
    "h": 132.4
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#345512
secondary
#61358E
accent
#40E893
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #345512

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

Preview Lab → · Contrast checker → · Palette generator →

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