#33331F#33331F

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

Color values

HEX#33331F
RGBrgb(51, 51, 31)
HSLhsl(60, 24%, 16%)
HSVhsv(60, 39%, 20%)
CMYKcmyk(0%, 0%, 39.2%, 80%)
CIE-LABlab(20.71, -3.89, 12.72)
CIE-LCHlch(20.71, 13.31, 107.01°)
OKLaboklab(31.51% -0.0103 0.0315)
OKLCHoklch(31.51% 0.033 108.2)
XYZxyz(2.7964, 3.1704, 1.7607)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33331F #1F1F33
analogous
#33291F #33331F #29331F
triadic
#33331F #1F3333 #331F33
tetradic
#33331F #1F3329 #1F1F33 #331F29
square
#33331F #1F3329 #1F1F33 #331F29
split-complementary
#33331F #1F2933 #291F33
monochromatic
#13130C #13130C #33331F #595936 #7F7F4D

Accessibility & contrast

On white

12.85
#33331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#33331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33331F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33331F#FFFFFF#000000##FFFFFF
##33331F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#363220
Tritanopia (blue-blind)
#36312E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #33331f;
/* rgb */ color: rgb(51, 51, 31);
/* oklch */ color: oklch(31.5% 0.033 108.2);
Tailwind
colors: {
  custom: {
    50: '#6b6a5a',
    500: '#33331f',
    950: '#000000',
  },
}
SCSS
$custom: #33331f;
$custom-light: #6b6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#33331f",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31513,
    "c": 0.03315,
    "h": 108.2
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#33331F
secondary
#484866
accent
#67C167
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #33331F

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

Preview Lab → · Contrast checker → · Palette generator →

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