#346612#346612

#346612 is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.125 H 135.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#346612
RGBrgb(52, 102, 18)
HSLhsl(96, 70%, 24%)
HSVhsv(96, 82%, 40%)
CMYKcmyk(49%, 0%, 82.4%, 60%)
CIE-LABlab(38.33, -32.10, 39.00)
CIE-LCHlch(38.33, 50.51, 129.45°)
OKLaboklab(45.77% -0.0895 0.0867)
OKLCHoklch(45.77% 0.125 135.9)
XYZxyz(6.2766, 10.2761, 2.2249)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346612 #441266
analogous
#5E6612 #346612 #12661A
triadic
#346612 #123466 #661234
tetradic
#346612 #125E66 #441266 #661A12
square
#346612 #125E66 #441266 #661A12
split-complementary
#346612 #1A1266 #66125E
monochromatic
#0D1A05 #193209 #346612 #4F9A1B #69CE24

Accessibility & contrast

On white

6.87
#346612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#346612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #346612
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346612#FFFFFF#000000##FFFFFF
##3466121.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#326256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #346612;
/* rgb */ color: rgb(52, 102, 18);
/* oklch */ color: oklch(45.8% 0.125 135.9);
Tailwind
colors: {
  custom: {
    50: '#719258',
    500: '#346612',
    950: '#000000',
  },
}
SCSS
$custom: #346612;
$custom-light: #719258;
$custom-dark: #000000;
JSON
{
  "hex": "#346612",
  "rgb": {
    "r": 52,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 95.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.12461,
    "h": 135.9
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#346612
secondary
#74369E
accent
#3BEDA5
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #346612

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

Preview Lab → · Contrast checker → · Palette generator →

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