#39310C#39310C

#39310C is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.3% C 0.054 H 96.9°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#39310C
RGBrgb(57, 49, 12)
HSLhsl(49, 65%, 14%)
HSVhsv(49, 79%, 22%)
CMYKcmyk(0%, 14%, 78.9%, 77.6%)
CIE-LABlab(20.41, -1.58, 23.83)
CIE-LCHlch(20.41, 23.88, 93.79°)
OKLaboklab(31.34% -0.0065 0.0539)
OKLCHoklch(31.34% 0.054 96.9)
XYZxyz(2.8522, 3.0932, 0.7946)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39310C #0C1439
analogous
#391A0C #39310C #2A390C
triadic
#39310C #0C3931 #310C39
tetradic
#39310C #0C391A #0C1439 #390C2A
square
#39310C #0C391A #0C1439 #390C2A
split-complementary
#39310C #0C2A39 #1A0C39
monochromatic
#191605 #191605 #39310C #6C5C17 #9E8821

Accessibility & contrast

On white

12.97
#39310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#39310C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39310C
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39310C#FFFFFF#000000##FFFFFF
##39310C1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373007
Deuteranopia (green-blind)
#39320E
Tritanopia (blue-blind)
#3E2D29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39310c;
/* rgb */ color: rgb(57, 49, 12);
/* oklch */ color: oklch(31.3% 0.054 96.9);
Tailwind
colors: {
  custom: {
    50: '#71684d',
    500: '#39310c',
    950: '#000000',
  },
}
SCSS
$custom: #39310c;
$custom-light: #71684d;
$custom-dark: #000000;
JSON
{
  "hex": "#39310c",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 49.333,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31338,
    "c": 0.05433,
    "h": 96.9
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#39310C
secondary
#2C3975
accent
#5EE840
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #39310C

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

Preview Lab → · Contrast checker → · Palette generator →

#39310C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva