#342C08#342C08

#342C08 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.4% C 0.053 H 96.3°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#342C08
RGBrgb(52, 44, 8)
HSLhsl(49, 73%, 12%)
HSVhsv(49, 85%, 20%)
CMYKcmyk(0%, 15.4%, 84.6%, 79.6%)
CIE-LABlab(18.14, -1.27, 22.73)
CIE-LCHlch(18.14, 22.77, 93.19°)
OKLaboklab(29.39% -0.0058 0.0524)
OKLCHoklch(29.39% 0.053 96.3)
XYZxyz(2.3608, 2.5491, 0.5974)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C08 #081034
analogous
#341608 #342C08 #263408
triadic
#342C08 #08342C #2C0834
tetradic
#342C08 #083416 #081034 #340826
square
#342C08 #083416 #081034 #340826
split-complementary
#342C08 #082634 #160834
monochromatic
#1B1604 #1B1604 #342C08 #695910 #9E8618

Accessibility & contrast

On white

13.91
#342C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342C08
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C08#FFFFFF#000000##FFFFFF
##342C081.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B04
Deuteranopia (green-blind)
#342D0A
Tritanopia (blue-blind)
#392825
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #342c08;
/* rgb */ color: rgb(52, 44, 8);
/* oklch */ color: oklch(29.4% 0.053 96.3);
Tailwind
colors: {
  custom: {
    50: '#6d644b',
    500: '#342c08',
    950: '#000000',
  },
}
SCSS
$custom: #342c08;
$custom-light: #6d644b;
$custom-dark: #000000;
JSON
{
  "hex": "#342c08",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 49.091,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29389,
    "c": 0.05271,
    "h": 96.3
  },
  "luminance": 0.02549
}

Semantic roles & 50–950 ramp

primary
#342C08
secondary
#253373
accent
#59F038
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #342C08

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

Preview Lab → · Contrast checker → · Palette generator →

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