#345E12#345E12

#345E12 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.5% C 0.114 H 134.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#345E12
RGBrgb(52, 94, 18)
HSLhsl(93, 68%, 22%)
HSVhsv(93, 81%, 37%)
CMYKcmyk(44.7%, 0%, 80.9%, 63.1%)
CIE-LABlab(35.55, -28.50, 36.34)
CIE-LCHlch(35.55, 46.18, 128.11°)
OKLaboklab(43.49% -0.0798 0.0811)
OKLCHoklch(43.49% 0.114 134.5)
XYZxyz(5.5279, 8.7788, 1.9754)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345E12 #3C125E
analogous
#5A5E12 #345E12 #125E16
triadic
#345E12 #12345E #5E1234
tetradic
#345E12 #125A5E #3C125E #5E1612
square
#345E12 #125A5E #3C125E #5E1612
split-complementary
#345E12 #16125E #5E125A
monochromatic
#0E1A05 #182B08 #345E12 #50911C #6DC526

Accessibility & contrast

On white

7.62
#345E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#345E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345E12
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345E12#FFFFFF#000000##FFFFFF
##345E121.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#335A50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345e12;
/* rgb */ color: rgb(52, 94, 18);
/* oklch */ color: oklch(43.5% 0.114 134.5);
Tailwind
colors: {
  custom: {
    50: '#708c56',
    500: '#345e12',
    950: '#000000',
  },
}
SCSS
$custom: #345e12;
$custom-light: #708c56;
$custom-dark: #000000;
JSON
{
  "hex": "#345e12",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 93.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43491,
    "c": 0.1138,
    "h": 134.5
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#345E12
secondary
#6B3596
accent
#3DEB9D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #345E12

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

Preview Lab → · Contrast checker → · Palette generator →

#345E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva