#342C0A#342C0A

#342C0A is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.051 H 95.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#342C0A
RGBrgb(52, 44, 10)
HSLhsl(49, 68%, 12%)
HSVhsv(49, 81%, 20%)
CMYKcmyk(0%, 15.4%, 80.8%, 79.6%)
CIE-LABlab(18.16, -1.13, 21.94)
CIE-LCHlch(18.16, 21.97, 92.94°)
OKLaboklab(29.41% -0.0051 0.0506)
OKLCHoklch(29.41% 0.051 95.8)
XYZxyz(2.3718, 2.5535, 0.6550)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C0A #0A1234
analogous
#34170A #342C0A #27340A
triadic
#342C0A #0A342C #2C0A34
tetradic
#342C0A #0A3417 #0A1234 #340A27
square
#342C0A #0A3417 #0A1234 #340A27
split-complementary
#342C0A #0A2734 #170A34
monochromatic
#1A1605 #1A1605 #342C0A #675714 #9B831E

Accessibility & contrast

On white

13.90
#342C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#342C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342C0A
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C0A#FFFFFF#000000##FFFFFF
##342C0A1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B06
Deuteranopia (green-blind)
#332D0C
Tritanopia (blue-blind)
#392825
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342c0a;
/* rgb */ color: rgb(52, 44, 10);
/* oklch */ color: oklch(29.4% 0.051 95.8);
Tailwind
colors: {
  custom: {
    50: '#6d644c',
    500: '#342c0a',
    950: '#000000',
  },
}
SCSS
$custom: #342c0a;
$custom-light: #6d644c;
$custom-dark: #000000;
JSON
{
  "hex": "#342c0a",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 10
  },
  "hsl": {
    "h": 48.571,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29411,
    "c": 0.05087,
    "h": 95.8
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#342C0A
secondary
#283671
accent
#5EEB3D
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342C0A

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

Preview Lab → · Contrast checker → · Palette generator →

#342C0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva