#342906#342906

#342906 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.6% C 0.052 H 90.9°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#342906
RGBrgb(52, 41, 6)
HSLhsl(46, 79%, 11%)
HSVhsv(46, 88%, 20%)
CMYKcmyk(0%, 21.2%, 88.5%, 79.6%)
CIE-LABlab(17.13, 0.61, 22.32)
CIE-LCHlch(17.13, 22.33, 88.45°)
OKLaboklab(28.58% -0.0008 0.0522)
OKLCHoklch(28.58% 0.052 90.9)
XYZxyz(2.2421, 2.3292, 0.5038)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342906 #061134
analogous
#341206 #342906 #283406
triadic
#342906 #063429 #290634
tetradic
#342906 #063412 #061134 #340628
square
#342906 #063412 #061134 #340628
split-complementary
#342906 #062834 #120634
monochromatic
#1B1603 #1B1603 #342906 #6B540C #A28013

Accessibility & contrast

On white

14.33
#342906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#342906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342906
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342906#FFFFFF#000000##FFFFFF
##3429061.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2802
Deuteranopia (green-blind)
#312B08
Tritanopia (blue-blind)
#392522
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #342906;
/* rgb */ color: rgb(52, 41, 6);
/* oklch */ color: oklch(28.6% 0.052 90.9);
Tailwind
colors: {
  custom: {
    50: '#6d6249',
    500: '#342906',
    950: '#000000',
  },
}
SCSS
$custom: #342906;
$custom-light: #6d6249;
$custom-dark: #000000;
JSON
{
  "hex": "#342906",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 45.652,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28584,
    "c": 0.05223,
    "h": 90.9
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#342906
secondary
#213574
accent
#61F632
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #342906

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

Preview Lab → · Contrast checker → · Palette generator →

#342906 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva