#346212#346212

#346212 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.6% C 0.119 H 135.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#346212
RGBrgb(52, 98, 18)
HSLhsl(95, 69%, 23%)
HSVhsv(95, 82%, 38%)
CMYKcmyk(46.9%, 0%, 81.6%, 61.6%)
CIE-LABlab(36.95, -30.32, 37.68)
CIE-LCHlch(36.95, 48.36, 128.83°)
OKLaboklab(44.63% -0.0847 0.0839)
OKLCHoklch(44.63% 0.119 135.3)
XYZxyz(5.8929, 9.5088, 2.0970)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346212 #401262
analogous
#5C6212 #346212 #126218
triadic
#346212 #123462 #621234
tetradic
#346212 #125C62 #401262 #621812
square
#346212 #125C62 #401262 #621812
split-complementary
#346212 #181262 #62125C
monochromatic
#0E1A05 #192E09 #346212 #4F961B #6BC925

Accessibility & contrast

On white

7.24
#346212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#346212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #346212
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346212#FFFFFF#000000##FFFFFF
##3462121.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665901
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#335E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #346212;
/* rgb */ color: rgb(52, 98, 18);
/* oklch */ color: oklch(44.6% 0.119 135.3);
Tailwind
colors: {
  custom: {
    50: '#708f57',
    500: '#346212',
    950: '#000000',
  },
}
SCSS
$custom: #346212;
$custom-light: #708f57;
$custom-dark: #000000;
JSON
{
  "hex": "#346212",
  "rgb": {
    "r": 52,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 94.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44632,
    "c": 0.11926,
    "h": 135.3
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#346212
secondary
#6F369A
accent
#3CECA1
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #346212

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

Preview Lab → · Contrast checker → · Palette generator →

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