#342B10#342B10

#342B10 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.044 H 91.1°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#342B10
RGBrgb(52, 43, 16)
HSLhsl(45, 53%, 13%)
HSVhsv(45, 69%, 20%)
CMYKcmyk(0%, 17.3%, 69.2%, 79.6%)
CIE-LABlab(17.90, 0.04, 18.75)
CIE-LCHlch(17.90, 18.75, 89.88°)
OKLaboklab(29.23% -0.0008 0.0438)
OKLCHoklch(29.23% 0.044 91.1)
XYZxyz(2.3737, 2.4954, 0.8467)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B10 #101934
analogous
#341910 #342B10 #2B3410
triadic
#342B10 #10342B #2B1034
tetradic
#342B10 #103419 #101934 #34102B
square
#342B10 #103419 #101934 #34102B
split-complementary
#342B10 #102B34 #191034
monochromatic
#171307 #171307 #342B10 #63521E #92782D

Accessibility & contrast

On white

14.01
#342B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#342B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342B10
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B10#FFFFFF#000000##FFFFFF
##342B101.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0D
Deuteranopia (green-blind)
#322D11
Tritanopia (blue-blind)
#392725
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342b10;
/* rgb */ color: rgb(52, 43, 16);
/* oklch */ color: oklch(29.2% 0.044 91.1);
Tailwind
colors: {
  custom: {
    50: '#6d644f',
    500: '#342b10',
    950: '#000000',
  },
}
SCSS
$custom: #342b10;
$custom-light: #6d644f;
$custom-dark: #000000;
JSON
{
  "hex": "#342b10",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 16
  },
  "hsl": {
    "h": 45,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.29227,
    "c": 0.04383,
    "h": 91.1
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#342B10
secondary
#32416E
accent
#70DC4B
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070502
muted
#7A7978

Preview Lab

Preview with #342B10

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

Preview Lab → · Contrast checker → · Palette generator →

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