#346818#346818

#346818 is a mid, vivid yellow-green. Relative luminance 0.107; OKLCH L 46.4% C 0.124 H 136.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#346818
RGBrgb(52, 104, 24)
HSLhsl(99, 63%, 25%)
HSVhsv(99, 77%, 41%)
CMYKcmyk(50%, 0%, 76.9%, 59.2%)
CIE-LABlab(39.06, -32.55, 37.46)
CIE-LCHlch(39.06, 49.63, 130.99°)
OKLaboklab(46.38% -0.0903 0.0844)
OKLCHoklch(46.38% 0.124 136.9)
XYZxyz(6.5312, 10.6962, 2.5844)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346818 #4C1868
analogous
#5C6818 #346818 #186824
triadic
#346818 #183468 #681834
tetradic
#346818 #185C68 #4C1868 #682418
square
#346818 #185C68 #4C1868 #682418
split-complementary
#346818 #241868 #68185C
monochromatic
#0C1906 #1B360D #346818 #4D9A23 #66CB2F

Accessibility & contrast

On white

6.69
#346818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#346818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #346818
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346818#FFFFFF#000000##FFFFFF
##3468181.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#316458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #346818;
/* rgb */ color: rgb(52, 104, 24);
/* oklch */ color: oklch(46.4% 0.124 136.9);
Tailwind
colors: {
  custom: {
    50: '#71935b',
    500: '#346818',
    950: '#000000',
  },
}
SCSS
$custom: #346818;
$custom-light: #71935b;
$custom-dark: #000000;
JSON
{
  "hex": "#346818",
  "rgb": {
    "r": 52,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 99,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46383,
    "c": 0.12363,
    "h": 136.9
  },
  "luminance": 0.10697
}

Semantic roles & 50–950 ramp

primary
#346818
secondary
#7C3E9E
accent
#42E6AC
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #346818

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

Preview Lab → · Contrast checker → · Palette generator →

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