#345612#345612

#345612 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.2% C 0.103 H 132.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#345612
RGBrgb(52, 86, 18)
HSLhsl(90, 65%, 20%)
HSVhsv(90, 79%, 34%)
CMYKcmyk(39.5%, 0%, 79.1%, 66.3%)
CIE-LABlab(32.76, -24.70, 33.60)
CIE-LCHlch(32.76, 41.70, 126.32°)
OKLaboklab(41.21% -0.0695 0.0754)
OKLCHoklch(41.21% 0.103 132.7)
XYZxyz(4.8531, 7.4291, 1.7504)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345612 #341256
analogous
#565612 #345612 #125612
triadic
#345612 #123456 #561234
tetradic
#345612 #125656 #341256 #561212
square
#345612 #125656 #341256 #561212
split-complementary
#345612 #121256 #561256
monochromatic
#0F1905 #152307 #345612 #53891D #71BB27

Accessibility & contrast

On white

8.45
#345612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#345612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345612
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345612#FFFFFF#000000##FFFFFF
##3456121.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#345249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #345612;
/* rgb */ color: rgb(52, 86, 18);
/* oklch */ color: oklch(41.2% 0.103 132.7);
Tailwind
colors: {
  custom: {
    50: '#6f8655',
    500: '#345612',
    950: '#000000',
  },
}
SCSS
$custom: #345612;
$custom-light: #6f8655;
$custom-dark: #000000;
JSON
{
  "hex": "#345612",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 90,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.10257,
    "h": 132.7
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#345612
secondary
#62358F
accent
#3FE894
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #345612

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

Preview Lab → · Contrast checker → · Palette generator →

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