#33340F#33340F

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

Color values

HEX#33340F
RGBrgb(51, 52, 15)
HSLhsl(62, 55%, 13%)
HSVhsv(62, 71%, 20%)
CMYKcmyk(1.9%, 0%, 71.2%, 79.6%)
CIE-LABlab(20.81, -6.47, 22.61)
CIE-LCHlch(20.81, 23.52, 105.97°)
OKLaboklab(31.51% -0.0195 0.0518)
OKLCHoklch(31.51% 0.055 110.6)
XYZxyz(2.6795, 3.1943, 0.9273)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33340F #100F34
analogous
#34220F #33340F #20340F
triadic
#33340F #0F3334 #340F33
tetradic
#33340F #0F3422 #100F34 #340F20
square
#33340F #0F3422 #100F34 #340F20
split-complementary
#33340F #0F2034 #220F34
monochromatic
#171807 #171807 #33340F #62631D #90932A

Accessibility & contrast

On white

12.81
#33340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#33340F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33340F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33340F#FFFFFF#000000##FFFFFF
##33340F1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310B
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#37302C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #33340f;
/* rgb */ color: rgb(51, 52, 15);
/* oklch */ color: oklch(31.5% 0.055 110.6);
Tailwind
colors: {
  custom: {
    50: '#6c6b4f',
    500: '#33340f',
    950: '#000000',
  },
}
SCSS
$custom: #33340f;
$custom-light: #6c6b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#33340f",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 61.622,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31506,
    "c": 0.05536,
    "h": 110.6
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#33340F
secondary
#32316E
accent
#49DF4D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #33340F

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

Preview Lab → · Contrast checker → · Palette generator →

#33340F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva