#344A18#344A18

#344A18 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.9% C 0.080 H 129.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#344A18
RGBrgb(52, 74, 24)
HSLhsl(86, 51%, 19%)
HSVhsv(86, 68%, 29%)
CMYKcmyk(29.7%, 0%, 67.6%, 71%)
CIE-LABlab(28.63, -18.00, 26.46)
CIE-LCHlch(28.63, 32.01, 124.23°)
OKLaboklab(37.86% -0.0507 0.0613)
OKLCHoklch(37.86% 0.08 129.6)
XYZxyz(4.0298, 5.6935, 1.7506)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#344A18 #2E184A
analogous
#4A4718 #344A18 #1B4A18
triadic
#344A18 #18344A #4A1834
tetradic
#344A18 #184A47 #2E184A #4A181B
square
#344A18 #184A47 #2E184A #4A181B
split-complementary
#344A18 #181B4A #47184A
monochromatic
#101707 #141C09 #344A18 #547827 #75A636

Accessibility & contrast

On white

9.82
#344A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#344A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #344A18
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##344A18#FFFFFF#000000##FFFFFF
##344A181.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4512
Deuteranopia (green-blind)
#4B431C
Tritanopia (blue-blind)
#35473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #344a18;
/* rgb */ color: rgb(52, 74, 24);
/* oklch */ color: oklch(37.9% 0.080 129.6);
Tailwind
colors: {
  custom: {
    50: '#6d7c57',
    500: '#344a18',
    950: '#000000',
  },
}
SCSS
$custom: #344a18;
$custom-light: #6d7c57;
$custom-dark: #000000;
JSON
{
  "hex": "#344a18",
  "rgb": {
    "r": 52,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 86.4,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37856,
    "c": 0.07954,
    "h": 129.6
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#344A18
secondary
#5B3D81
accent
#4DDA8B
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #344A18

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

Preview Lab → · Contrast checker → · Palette generator →

#344A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva