#342804#342804

#342804 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.054 H 89.6°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#342804
RGBrgb(52, 40, 4)
HSLhsl(45, 86%, 11%)
HSVhsv(45, 92%, 20%)
CMYKcmyk(0%, 23.1%, 92.3%, 79.6%)
CIE-LABlab(16.78, 1.14, 22.71)
CIE-LCHlch(16.78, 22.74, 87.14°)
OKLaboklab(28.3% 0.0003 0.0536)
OKLCHoklch(28.3% 0.054 89.6)
XYZxyz(2.1970, 2.2566, 0.4347)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342804 #041034
analogous
#341004 #342804 #283404
triadic
#342804 #043428 #280434
tetradic
#342804 #043410 #041034 #340428
square
#342804 #043410 #041034 #340428
split-complementary
#342804 #042834 #100434
monochromatic
#1C1602 #1C1602 #342804 #6D5408 #A67F0D

Accessibility & contrast

On white

14.47
#342804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#342804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342804
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342804#FFFFFF#000000##FFFFFF
##3428041.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#312B06
Tritanopia (blue-blind)
#392421
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #342804;
/* rgb */ color: rgb(52, 40, 4);
/* oklch */ color: oklch(28.3% 0.054 89.6);
Tailwind
colors: {
  custom: {
    50: '#6d6148',
    500: '#342804',
    950: '#000000',
  },
}
SCSS
$custom: #342804;
$custom-light: #6d6148;
$custom-dark: #000000;
JSON
{
  "hex": "#342804",
  "rgb": {
    "r": 52,
    "g": 40,
    "b": 4
  },
  "hsl": {
    "h": 45,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28303,
    "c": 0.05357,
    "h": 89.6
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#342804
secondary
#1E3476
accent
#60FC2C
background
#F6F5F4
surface
#ECE9E6
border
#C7C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #342804

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

Preview Lab → · Contrast checker → · Palette generator →

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