#3C310F#3C310F

#3C310F is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.7% C 0.052 H 91.1°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#3C310F
RGBrgb(60, 49, 15)
HSLhsl(45, 60%, 15%)
HSVhsv(45, 75%, 24%)
CMYKcmyk(0%, 18.3%, 75%, 76.5%)
CIE-LABlab(20.80, 0.25, 22.88)
CIE-LCHlch(20.80, 22.88, 89.37°)
OKLaboklab(31.73% -0.001 0.0521)
OKLCHoklch(31.73% 0.052 91.1)
XYZxyz(3.0482, 3.1919, 0.9074)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C310F #0F1A3C
analogous
#3C1A0F #3C310F #313C0F
triadic
#3C310F #0F3C31 #310F3C
tetradic
#3C310F #0F3C1A #0F1A3C #3C0F31
square
#3C310F #0F3C1A #0F1A3C #3C0F31
split-complementary
#3C310F #0F313C #1A0F3C
monochromatic
#181406 #181406 #3C310F #6D591B #9E8127

Accessibility & contrast

On white

12.82
#3C310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3C310F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C310F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C310F#FFFFFF#000000##FFFFFF
##3C310F1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300B
Deuteranopia (green-blind)
#3A3311
Tritanopia (blue-blind)
#412D2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3c310f;
/* rgb */ color: rgb(60, 49, 15);
/* oklch */ color: oklch(31.7% 0.052 91.1);
Tailwind
colors: {
  custom: {
    50: '#74684f',
    500: '#3c310f',
    950: '#000000',
  },
}
SCSS
$custom: #3c310f;
$custom-light: #74684f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c310f",
  "rgb": {
    "r": 60,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 45.333,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31734,
    "c": 0.05211,
    "h": 91.1
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#3C310F
secondary
#304176
accent
#6BE345
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #3C310F

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

Preview Lab → · Contrast checker → · Palette generator →

#3C310F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva