#346D12#346D12

#346D12 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.8% C 0.134 H 136.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#346D12
RGBrgb(52, 109, 18)
HSLhsl(98, 72%, 25%)
HSVhsv(98, 83%, 43%)
CMYKcmyk(52.3%, 0%, 83.5%, 57.3%)
CIE-LABlab(40.75, -35.10, 41.28)
CIE-LCHlch(40.75, 54.18, 130.38°)
OKLaboklab(47.76% -0.0976 0.0915)
OKLCHoklch(47.76% 0.134 136.9)
XYZxyz(6.9938, 11.7105, 2.4640)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346D12 #4B126D
analogous
#626D12 #346D12 #126D1D
triadic
#346D12 #12346D #6D1234
tetradic
#346D12 #12626D #4B126D #6D1D12
square
#346D12 #12626D #4B126D #6D1D12
split-complementary
#346D12 #1D126D #6D1262
monochromatic
#0D1A04 #1B3809 #346D12 #4DA21B #66D623

Accessibility & contrast

On white

6.28
#346D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#346D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #346D12
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346D12#FFFFFF#000000##FFFFFF
##346D121.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#31695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #346d12;
/* rgb */ color: rgb(52, 109, 18);
/* oklch */ color: oklch(47.8% 0.134 136.9);
Tailwind
colors: {
  custom: {
    50: '#729759',
    500: '#346d12',
    950: '#000000',
  },
}
SCSS
$custom: #346d12;
$custom-light: #729759;
$custom-dark: #000000;
JSON
{
  "hex": "#346d12",
  "rgb": {
    "r": 52,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 97.582,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.13375,
    "h": 136.9
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#346D12
secondary
#7B37A4
accent
#39EEAB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #346D12

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

Preview Lab → · Contrast checker → · Palette generator →

#346D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva