#39310A#39310A

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

Color values

HEX#39310A
RGBrgb(57, 49, 10)
HSLhsl(50, 70%, 13%)
HSVhsv(50, 82%, 22%)
CMYKcmyk(0%, 14%, 82.5%, 77.6%)
CIE-LABlab(20.39, -1.71, 24.67)
CIE-LCHlch(20.39, 24.73, 93.96°)
OKLaboklab(31.32% -0.0071 0.0556)
OKLCHoklch(31.32% 0.056 97.3)
XYZxyz(2.8406, 3.0885, 0.7336)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39310A #0A1239
analogous
#39190A #39310A #29390A
triadic
#39310A #0A3931 #310A39
tetradic
#39310A #0A3919 #0A1239 #390A29
square
#39310A #0A3919 #0A1239 #390A29
split-complementary
#39310A #0A2939 #190A39
monochromatic
#1A1605 #1A1605 #39310A #6D5E13 #A18B1C

Accessibility & contrast

On white

12.98
#39310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39310A
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39310A#FFFFFF#000000##FFFFFF
##39310A1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39310a;
/* rgb */ color: rgb(57, 49, 10);
/* oklch */ color: oklch(31.3% 0.056 97.3);
Tailwind
colors: {
  custom: {
    50: '#71684c',
    500: '#39310a',
    950: '#000000',
  },
}
SCSS
$custom: #39310a;
$custom-light: #71684c;
$custom-dark: #000000;
JSON
{
  "hex": "#39310a",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 49.787,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31318,
    "c": 0.05605,
    "h": 97.3
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#39310A
secondary
#283676
accent
#59ED3B
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #39310A

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

Preview Lab → · Contrast checker → · Palette generator →

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