#345712#345712

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

Color values

HEX#345712
RGBrgb(52, 87, 18)
HSLhsl(90, 66%, 21%)
HSVhsv(90, 79%, 34%)
CMYKcmyk(40.2%, 0%, 79.3%, 65.9%)
CIE-LABlab(33.11, -25.18, 33.95)
CIE-LCHlch(33.11, 42.27, 126.57°)
OKLaboklab(41.49% -0.0709 0.0761)
OKLCHoklch(41.49% 0.104 133)
XYZxyz(4.9335, 7.5899, 1.7772)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345712 #351257
analogous
#565712 #345712 #125713
triadic
#345712 #123457 #571234
tetradic
#345712 #125657 #351257 #571312
square
#345712 #125657 #351257 #571312
split-complementary
#345712 #131257 #571256
monochromatic
#0F1905 #162408 #345712 #528A1C #71BC27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345712#FFFFFF#000000##FFFFFF
##3457121.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)
#5B5005
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#34534A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #345712;
/* rgb */ color: rgb(52, 87, 18);
/* oklch */ color: oklch(41.5% 0.104 133.0);
Tailwind
colors: {
  custom: {
    50: '#6f8655',
    500: '#345712',
    950: '#000000',
  },
}
SCSS
$custom: #345712;
$custom-light: #6f8655;
$custom-dark: #000000;
JSON
{
  "hex": "#345712",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 90.435,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41493,
    "c": 0.104,
    "h": 133
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#345712
secondary
#633590
accent
#3FE995
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #345712

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

Preview Lab → · Contrast checker → · Palette generator →

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