#346718#346718

#346718 is a mid, vivid yellow-green. Relative luminance 0.105; OKLCH L 46.1% C 0.122 H 136.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#346718
RGBrgb(52, 103, 24)
HSLhsl(99, 62%, 25%)
HSVhsv(99, 77%, 40%)
CMYKcmyk(49.5%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.72, -32.11, 37.11)
CIE-LCHlch(38.72, 49.08, 130.87°)
OKLaboklab(46.1% -0.0891 0.0837)
OKLCHoklch(46.1% 0.122 136.8)
XYZxyz(6.4311, 10.4961, 2.5510)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346718 #4B1867
analogous
#5C6718 #346718 #186723
triadic
#346718 #183467 #671834
tetradic
#346718 #185C67 #4B1867 #672318
square
#346718 #185C67 #4B1867 #672318
split-complementary
#346718 #231867 #67185C
monochromatic
#0D1906 #1B350C #346718 #4D9924 #66CA2F

Accessibility & contrast

On white

6.78
#346718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#346718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #346718
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346718#FFFFFF#000000##FFFFFF
##3467181.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#316358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #346718;
/* rgb */ color: rgb(52, 103, 24);
/* oklch */ color: oklch(46.1% 0.122 136.8);
Tailwind
colors: {
  custom: {
    50: '#71935b',
    500: '#346718',
    950: '#000000',
  },
}
SCSS
$custom: #346718;
$custom-light: #71935b;
$custom-dark: #000000;
JSON
{
  "hex": "#346718",
  "rgb": {
    "r": 52,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 98.734,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.461,
    "c": 0.12227,
    "h": 136.8
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

primary
#346718
secondary
#7B3E9D
accent
#43E5AC
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #346718

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

Preview Lab → · Contrast checker → · Palette generator →

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