#343A0C#343A0C

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

Color values

HEX#343A0C
RGBrgb(52, 58, 12)
HSLhsl(68, 66%, 14%)
HSVhsv(68, 79%, 23%)
CMYKcmyk(10.3%, 0%, 79.3%, 77.3%)
CIE-LABlab(22.94, -9.91, 26.39)
CIE-LCHlch(22.94, 28.19, 110.57°)
OKLaboklab(33.23% -0.0296 0.0592)
OKLCHoklch(33.23% 0.066 116.6)
XYZxyz(2.9957, 3.7828, 0.9201)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A0C #120C3A
analogous
#3A290C #343A0C #1D3A0C
triadic
#343A0C #0C343A #3A0C34
tetradic
#343A0C #0C3A29 #120C3A #3A0C1D
square
#343A0C #0C3A29 #120C3A #3A0C1D
split-complementary
#343A0C #0C1D3A #290C3A
monochromatic
#171905 #171905 #343A0C #616D16 #8F9F21

Accessibility & contrast

On white

11.95
#343A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343A0C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A0C#FFFFFF#000000##FFFFFF
##343A0C1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343a0c;
/* rgb */ color: rgb(52, 58, 12);
/* oklch */ color: oklch(33.2% 0.066 116.6);
Tailwind
colors: {
  custom: {
    50: '#6d704e',
    500: '#343a0c',
    950: '#000000',
  },
}
SCSS
$custom: #343a0c;
$custom-light: #6d704e;
$custom-dark: #000000;
JSON
{
  "hex": "#343a0c",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 67.826,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33229,
    "c": 0.0662,
    "h": 116.6
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#343A0C
secondary
#352C76
accent
#3FE955
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #343A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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