#346318#346318

#346318 is a dark, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.0% C 0.117 H 136.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#346318
RGBrgb(52, 99, 24)
HSLhsl(98, 61%, 24%)
HSVhsv(98, 76%, 39%)
CMYKcmyk(47.5%, 0%, 75.8%, 61.2%)
CIE-LABlab(37.33, -30.33, 35.71)
CIE-LCHlch(37.33, 46.85, 130.34°)
OKLaboklab(44.96% -0.0843 0.0808)
OKLCHoklch(44.96% 0.117 136.2)
XYZxyz(6.0427, 9.7193, 2.4216)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346318 #471863
analogous
#5A6318 #346318 #186322
triadic
#346318 #183463 #631834
tetradic
#346318 #185A63 #471863 #632218
square
#346318 #185A63 #471863 #632218
split-complementary
#346318 #221863 #63185A
monochromatic
#0D1906 #1A320C #346318 #4E9424 #68C630

Accessibility & contrast

On white

7.13
#346318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#346318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #346318
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346318#FFFFFF#000000##FFFFFF
##3463181.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0B
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#325F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #346318;
/* rgb */ color: rgb(52, 99, 24);
/* oklch */ color: oklch(45.0% 0.117 136.2);
Tailwind
colors: {
  custom: {
    50: '#70905a',
    500: '#346318',
    950: '#000000',
  },
}
SCSS
$custom: #346318;
$custom-light: #70905a;
$custom-dark: #000000;
JSON
{
  "hex": "#346318",
  "rgb": {
    "r": 52,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 97.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44963,
    "c": 0.11676,
    "h": 136.2
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

primary
#346318
secondary
#773E99
accent
#44E4A8
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #346318

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

Preview Lab → · Contrast checker → · Palette generator →

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