#343302#343302

#343302 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.066 H 108.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#343302
RGBrgb(52, 51, 2)
HSLhsl(59, 93%, 11%)
HSVhsv(59, 96%, 20%)
CMYKcmyk(0%, 1.9%, 96.2%, 79.6%)
CIE-LABlab(20.45, -6.24, 27.84)
CIE-LCHlch(20.45, 28.53, 102.63°)
OKLaboklab(31.21% -0.0207 0.0622)
OKLCHoklch(31.21% 0.066 108.4)
XYZxyz(2.6111, 3.1022, 0.5187)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343302 #020334
analogous
#341A02 #343302 #1C3402
triadic
#343302 #023433 #330234
tetradic
#343302 #02341A #020334 #34021C
square
#343302 #02341A #020334 #34021C
split-complementary
#343302 #021C34 #1A0234
monochromatic
#1D1D01 #1D1D01 #343302 #6F6D04 #AAA707

Accessibility & contrast

On white

12.96
#343302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343302
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343302#FFFFFF#000000##FFFFFF
##3433021.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#393205
Tritanopia (blue-blind)
#392F2A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #343302;
/* rgb */ color: rgb(52, 51, 2);
/* oklch */ color: oklch(31.2% 0.066 108.4);
Tailwind
colors: {
  custom: {
    50: '#6e6a48',
    500: '#343302',
    950: '#000000',
  },
}
SCSS
$custom: #343302;
$custom-light: #6e6a48;
$custom-dark: #000000;
JSON
{
  "hex": "#343302",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 58.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.31208,
    "c": 0.0656,
    "h": 108.4
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#343302
secondary
#1A1C78
accent
#2DFF29
background
#F6F6F4
surface
#ECEBE6
border
#C7C6C2
text
#070601
muted
#7A7A77

Preview Lab

Preview with #343302

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

Preview Lab → · Contrast checker → · Palette generator →

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