#343A2A#343A2A

#343A2A is a dark, muted yellow-green. Relative luminance 0.039; OKLCH L 33.8% C 0.028 H 124.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#343A2A
RGBrgb(52, 58, 42)
HSLhsl(83, 16%, 20%)
HSVhsv(83, 28%, 23%)
CMYKcmyk(10.3%, 0%, 27.6%, 77.3%)
CIE-LABlab(23.42, -6.01, 9.13)
CIE-LCHlch(23.42, 10.93, 123.35°)
OKLaboklab(33.77% -0.016 0.0232)
OKLCHoklch(33.77% 0.028 124.6)
XYZxyz(3.3471, 3.9233, 2.7710)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A2A #302A3A
analogous
#3A382A #343A2A #2C3A2A
triadic
#343A2A #2A343A #3A2A34
tetradic
#343A2A #2A3A38 #302A3A #3A2A2C
square
#343A2A #2A3A38 #302A3A #3A2A2C
split-complementary
#343A2A #2A2C3A #382A3A
monochromatic
#10120D #141710 #343A2A #545D44 #74815D

Accessibility & contrast

On white

11.77
#343A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#343A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A2A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A2A#FFFFFF#000000##FFFFFF
##343A2A1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3829
Deuteranopia (green-blind)
#3B382B
Tritanopia (blue-blind)
#353836
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #343a2a;
/* rgb */ color: rgb(52, 58, 42);
/* oklch */ color: oklch(33.8% 0.028 124.6);
Tailwind
colors: {
  custom: {
    50: '#6b7063',
    500: '#343a2a',
    950: '#000000',
  },
}
SCSS
$custom: #343a2a;
$custom-light: #6b7063;
$custom-dark: #000000;
JSON
{
  "hex": "#343a2a",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 42
  },
  "hsl": {
    "h": 82.5,
    "s": 16,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33765,
    "c": 0.02818,
    "h": 124.6
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#343A2A
secondary
#5D556B
accent
#6FB98B
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060705
muted
#7A7A79

Preview Lab

Preview with #343A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#343A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva