#343308#343308

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

Color values

HEX#343308
RGBrgb(52, 51, 8)
HSLhsl(59, 73%, 12%)
HSVhsv(59, 85%, 20%)
CMYKcmyk(0%, 1.9%, 84.6%, 79.6%)
CIE-LABlab(20.50, -5.83, 25.45)
CIE-LCHlch(20.50, 26.11, 102.90°)
OKLaboklab(31.26% -0.0187 0.0573)
OKLCHoklch(31.26% 0.06 108.1)
XYZxyz(2.6439, 3.1153, 0.6917)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343308 #080934
analogous
#341D08 #343308 #1F3408
triadic
#343308 #083433 #330834
tetradic
#343308 #08341D #080934 #34081F
square
#343308 #08341D #080934 #34081F
split-complementary
#343308 #081F34 #1D0834
monochromatic
#1B1A04 #1B1A04 #343308 #696710 #9E9B18

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##343308#FFFFFF#000000##FFFFFF
##3433081.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)
#383103
Deuteranopia (green-blind)
#39320B
Tritanopia (blue-blind)
#382F2B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #343308;
/* rgb */ color: rgb(52, 51, 8);
/* oklch */ color: oklch(31.3% 0.060 108.1);
Tailwind
colors: {
  custom: {
    50: '#6d6a4b',
    500: '#343308',
    950: '#000000',
  },
}
SCSS
$custom: #343308;
$custom-light: #6d6a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#343308",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 58.636,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31265,
    "c": 0.06024,
    "h": 108.1
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#343308
secondary
#252773
accent
#3CF038
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #343308

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

Preview Lab → · Contrast checker → · Palette generator →

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