#346418#346418

#346418 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.2% C 0.118 H 136.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#346418
RGBrgb(52, 100, 24)
HSLhsl(98, 61%, 24%)
HSVhsv(98, 76%, 39%)
CMYKcmyk(48%, 0%, 76%, 60.8%)
CIE-LABlab(37.68, -30.78, 36.06)
CIE-LCHlch(37.68, 47.41, 130.48°)
OKLaboklab(45.25% -0.0855 0.0815)
OKLCHoklch(45.25% 0.118 136.4)
XYZxyz(6.1380, 9.9100, 2.4534)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#346418 #481864
analogous
#5A6418 #346418 #186422
triadic
#346418 #183464 #641834
tetradic
#346418 #185A64 #481864 #642218
square
#346418 #185A64 #481864 #642218
split-complementary
#346418 #221864 #64185A
monochromatic
#0D1906 #1A330C #346418 #4E9524 #67C730

Accessibility & contrast

On white

7.04
#346418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#346418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #346418
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##346418#FFFFFF#000000##FFFFFF
##3464181.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0B
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#326055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #346418;
/* rgb */ color: rgb(52, 100, 24);
/* oklch */ color: oklch(45.2% 0.118 136.4);
Tailwind
colors: {
  custom: {
    50: '#70905a',
    500: '#346418',
    950: '#000000',
  },
}
SCSS
$custom: #346418;
$custom-light: #70905a;
$custom-dark: #000000;
JSON
{
  "hex": "#346418",
  "rgb": {
    "r": 52,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 97.895,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45247,
    "c": 0.11814,
    "h": 136.4
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#346418
secondary
#783E9A
accent
#43E4A9
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #346418

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

Preview Lab → · Contrast checker → · Palette generator →

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