#333412#333412

#333412 is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.5% C 0.052 H 110.6°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#333412
RGBrgb(51, 52, 18)
HSLhsl(62, 49%, 14%)
HSVhsv(62, 65%, 20%)
CMYKcmyk(1.9%, 0%, 65.4%, 79.6%)
CIE-LABlab(20.84, -6.19, 20.97)
CIE-LCHlch(20.84, 21.87, 106.44°)
OKLaboklab(31.55% -0.0183 0.0488)
OKLCHoklch(31.55% 0.052 110.6)
XYZxyz(2.7025, 3.2035, 1.0481)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333412 #131234
analogous
#342412 #333412 #223412
triadic
#333412 #123334 #341233
tetradic
#333412 #123424 #131234 #341222
square
#333412 #123424 #131234 #341222
split-complementary
#333412 #122234 #241234
monochromatic
#161708 #161708 #333412 #606122 #8C8F31

Accessibility & contrast

On white

12.80
#333412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#333412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333412
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333412#FFFFFF#000000##FFFFFF
##3334121.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38320F
Deuteranopia (green-blind)
#393314
Tritanopia (blue-blind)
#37312D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #333412;
/* rgb */ color: rgb(51, 52, 18);
/* oklch */ color: oklch(31.5% 0.052 110.6);
Tailwind
colors: {
  custom: {
    50: '#6c6b51',
    500: '#333412',
    950: '#000000',
  },
}
SCSS
$custom: #333412;
$custom-light: #6c6b51;
$custom-dark: #000000;
JSON
{
  "hex": "#333412",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 18
  },
  "hsl": {
    "h": 61.765,
    "s": 48.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31545,
    "c": 0.0521,
    "h": 110.6
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#333412
secondary
#37356C
accent
#50D854
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #333412

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

Preview Lab → · Contrast checker → · Palette generator →

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