#346012#346012

#346012 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.1% C 0.117 H 134.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#346012
RGBrgb(52, 96, 18)
HSLhsl(94, 68%, 22%)
HSVhsv(94, 81%, 38%)
CMYKcmyk(45.8%, 0%, 81.3%, 62.4%)
CIE-LABlab(36.25, -29.42, 37.01)
CIE-LCHlch(36.25, 47.27, 128.48°)
OKLaboklab(44.06% -0.0823 0.0825)
OKLCHoklch(44.06% 0.117 134.9)
XYZxyz(5.7081, 9.1392, 2.0354)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346012 #3E1260
analogous
#5B6012 #346012 #126017
triadic
#346012 #123460 #601234
tetradic
#346012 #125B60 #3E1260 #601712
square
#346012 #125B60 #3E1260 #601712
split-complementary
#346012 #171260 #60125B
monochromatic
#0E1A05 #182C08 #346012 #50941C #6CC725

Accessibility & contrast

On white

7.43
#346012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#346012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #346012
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346012#FFFFFF#000000##FFFFFF
##3460121.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#335C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #346012;
/* rgb */ color: rgb(52, 96, 18);
/* oklch */ color: oklch(44.1% 0.117 134.9);
Tailwind
colors: {
  custom: {
    50: '#708d57',
    500: '#346012',
    950: '#000000',
  },
}
SCSS
$custom: #346012;
$custom-light: #708d57;
$custom-dark: #000000;
JSON
{
  "hex": "#346012",
  "rgb": {
    "r": 52,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 93.846,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44061,
    "c": 0.11655,
    "h": 134.9
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#346012
secondary
#6D3698
accent
#3DEB9F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #346012

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

Preview Lab → · Contrast checker → · Palette generator →

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