#343307#343307

#343307 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.3% C 0.061 H 108.1°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#343307
RGBrgb(52, 51, 7)
HSLhsl(59, 76%, 12%)
HSVhsv(59, 87%, 20%)
CMYKcmyk(0%, 1.9%, 86.5%, 79.6%)
CIE-LABlab(20.49, -5.90, 25.85)
CIE-LCHlch(20.49, 26.51, 102.85°)
OKLaboklab(31.26% -0.019 0.0581)
OKLCHoklch(31.26% 0.061 108.1)
XYZxyz(2.6385, 3.1131, 0.6629)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343307 #070834
analogous
#341D07 #343307 #1F3407
triadic
#343307 #073433 #330734
tetradic
#343307 #07341D #070834 #34071F
square
#343307 #07341D #070834 #34071F
split-complementary
#343307 #071F34 #1D0734
monochromatic
#1B1A04 #1B1A04 #343307 #6A680E #A09D16

Accessibility & contrast

On white

12.94
#343307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#343307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343307
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343307#FFFFFF#000000##FFFFFF
##3433071.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383102
Deuteranopia (green-blind)
#39320A
Tritanopia (blue-blind)
#382F2B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #343307;
/* rgb */ color: rgb(52, 51, 7);
/* oklch */ color: oklch(31.3% 0.061 108.1);
Tailwind
colors: {
  custom: {
    50: '#6d6a4b',
    500: '#343307',
    950: '#000000',
  },
}
SCSS
$custom: #343307;
$custom-light: #6d6a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#343307",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 58.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31256,
    "c": 0.06111,
    "h": 108.1
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#343307
secondary
#232574
accent
#39F335
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #343307

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

Preview Lab → · Contrast checker → · Palette generator →

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