#345F12#345F12

#345F12 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.8% C 0.115 H 134.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#345F12
RGBrgb(52, 95, 18)
HSLhsl(94, 68%, 22%)
HSVhsv(94, 81%, 37%)
CMYKcmyk(45.3%, 0%, 81.1%, 62.7%)
CIE-LABlab(35.90, -28.96, 36.67)
CIE-LCHlch(35.90, 46.73, 128.30°)
OKLaboklab(43.78% -0.0811 0.0818)
OKLCHoklch(43.78% 0.115 134.7)
XYZxyz(5.6174, 8.9578, 2.0052)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345F12 #3D125F
analogous
#5B5F12 #345F12 #125F16
triadic
#345F12 #12345F #5F1234
tetradic
#345F12 #125B5F #3D125F #5F1612
square
#345F12 #125B5F #3D125F #5F1612
split-complementary
#345F12 #16125F #5F125B
monochromatic
#0E1A05 #182C08 #345F12 #50921C #6CC625

Accessibility & contrast

On white

7.52
#345F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#345F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345F12
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345F12#FFFFFF#000000##FFFFFF
##345F121.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635702
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#335B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345f12;
/* rgb */ color: rgb(52, 95, 18);
/* oklch */ color: oklch(43.8% 0.115 134.7);
Tailwind
colors: {
  custom: {
    50: '#708d56',
    500: '#345f12',
    950: '#000000',
  },
}
SCSS
$custom: #345f12;
$custom-light: #708d56;
$custom-dark: #000000;
JSON
{
  "hex": "#345f12",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 93.506,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43776,
    "c": 0.11517,
    "h": 134.7
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#345F12
secondary
#6C3697
accent
#3DEB9E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #345F12

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

Preview Lab → · Contrast checker → · Palette generator →

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