#343904#343904

#343904 is a dark, moderate yellow. Relative luminance 0.037; OKLCH L 32.9% C 0.071 H 115.2°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#343904
RGBrgb(52, 57, 4)
HSLhsl(66, 87%, 12%)
HSVhsv(66, 93%, 22%)
CMYKcmyk(8.8%, 0%, 93%, 77.6%)
CIE-LABlab(22.53, -9.82, 29.27)
CIE-LCHlch(22.53, 30.88, 108.55°)
OKLaboklab(32.88% -0.0303 0.0644)
OKLCHoklch(32.88% 0.071 115.2)
XYZxyz(2.9013, 3.6651, 0.6694)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343904 #090439
analogous
#392404 #343904 #1A3904
triadic
#343904 #043439 #390434
tetradic
#343904 #043924 #090439 #39041A
square
#343904 #043924 #090439 #39041A
split-complementary
#343904 #041A39 #240439
monochromatic
#1A1D02 #1A1D02 #343904 #687208 #9CAB0C

Accessibility & contrast

On white

12.12
#343904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#343904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343904
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343904#FFFFFF#000000##FFFFFF
##3439041.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3E3608
Tritanopia (blue-blind)
#38352F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #343904;
/* rgb */ color: rgb(52, 57, 4);
/* oklch */ color: oklch(32.9% 0.071 115.2);
Tailwind
colors: {
  custom: {
    50: '#6e6f4a',
    500: '#343904',
    950: '#000000',
  },
}
SCSS
$custom: #343904;
$custom-light: #6e6f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#343904",
  "rgb": {
    "r": 52,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 65.66,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32882,
    "c": 0.07117,
    "h": 115.2
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#343904
secondary
#271E7B
accent
#2BFD3F
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #343904

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

Preview Lab → · Contrast checker → · Palette generator →

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