#33310F#33310F

#33310F is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.7% C 0.051 H 105.9°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#33310F
RGBrgb(51, 49, 15)
HSLhsl(57, 55%, 13%)
HSVhsv(57, 71%, 20%)
CMYKcmyk(0%, 3.9%, 70.6%, 80%)
CIE-LABlab(19.78, -4.55, 21.46)
CIE-LCHlch(19.78, 21.94, 101.97°)
OKLaboklab(30.69% -0.0141 0.0494)
OKLCHoklch(30.69% 0.051 105.9)
XYZxyz(2.5499, 2.9350, 0.8840)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33310F #0F1133
analogous
#331F0F #33310F #23330F
triadic
#33310F #0F3331 #310F33
tetradic
#33310F #0F331F #0F1133 #330F23
square
#33310F #0F331F #0F1133 #330F23
split-complementary
#33310F #0F2333 #1F0F33
monochromatic
#181707 #181707 #33310F #625E1D #928C2B

Accessibility & contrast

On white

13.23
#33310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#33310F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33310F
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33310F#FFFFFF#000000##FFFFFF
##33310F1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0B
Deuteranopia (green-blind)
#363111
Tritanopia (blue-blind)
#372D2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #33310f;
/* rgb */ color: rgb(51, 49, 15);
/* oklch */ color: oklch(30.7% 0.051 105.9);
Tailwind
colors: {
  custom: {
    50: '#6c684f',
    500: '#33310f',
    950: '#000000',
  },
}
SCSS
$custom: #33310f;
$custom-light: #6c684f;
$custom-dark: #000000;
JSON
{
  "hex": "#33310f",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 56.667,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30689,
    "c": 0.05139,
    "h": 105.9
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#33310F
secondary
#31346D
accent
#52DE4A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070602
muted
#7A7A78

Preview Lab

Preview with #33310F

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

Preview Lab → · Contrast checker → · Palette generator →

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