#343A0B#343A0B

#343A0B is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.2% C 0.067 H 116.5°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#343A0B
RGBrgb(52, 58, 11)
HSLhsl(68, 68%, 14%)
HSVhsv(68, 81%, 23%)
CMYKcmyk(10.3%, 0%, 81%, 77.3%)
CIE-LABlab(22.93, -9.98, 26.83)
CIE-LCHlch(22.93, 28.62, 110.40°)
OKLaboklab(33.22% -0.0299 0.06)
OKLCHoklch(33.22% 0.067 116.5)
XYZxyz(2.9897, 3.7804, 0.8887)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A0B #110B3A
analogous
#3A280B #343A0B #1C3A0B
triadic
#343A0B #0B343A #3A0B34
tetradic
#343A0B #0B3A28 #110B3A #3A0B1C
square
#343A0B #0B3A28 #110B3A #3A0B1C
split-complementary
#343A0B #0B1C3A #280B3A
monochromatic
#171A05 #171A05 #343A0B #626D15 #90A11F

Accessibility & contrast

On white

11.96
#343A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#343A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A0B
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A0B#FFFFFF#000000##FFFFFF
##343A0B1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3604
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#383631
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #343a0b;
/* rgb */ color: rgb(52, 58, 11);
/* oklch */ color: oklch(33.2% 0.067 116.5);
Tailwind
colors: {
  custom: {
    50: '#6d704d',
    500: '#343a0b',
    950: '#000000',
  },
}
SCSS
$custom: #343a0b;
$custom-light: #6d704d;
$custom-dark: #000000;
JSON
{
  "hex": "#343a0b",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 11
  },
  "hsl": {
    "h": 67.66,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.3322,
    "c": 0.06701,
    "h": 116.5
  },
  "luminance": 0.0378
}

Semantic roles & 50–950 ramp

primary
#343A0B
secondary
#342A77
accent
#3DEB53
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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