#39310B#39310B

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

Color values

HEX#39310B
RGBrgb(57, 49, 11)
HSLhsl(50, 68%, 13%)
HSVhsv(50, 81%, 22%)
CMYKcmyk(0%, 14%, 80.7%, 77.6%)
CIE-LABlab(20.40, -1.65, 24.26)
CIE-LCHlch(20.40, 24.32, 93.88°)
OKLaboklab(31.33% -0.0068 0.0548)
OKLCHoklch(31.33% 0.055 97.1)
XYZxyz(2.8462, 3.0908, 0.7632)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39310B #0B1339
analogous
#391A0B #39310B #2A390B
triadic
#39310B #0B3931 #310B39
tetradic
#39310B #0B391A #0B1339 #390B2A
square
#39310B #0B391A #0B1339 #390B2A
split-complementary
#39310B #0B2A39 #1A0B39
monochromatic
#1A1605 #1A1605 #39310B #6C5D15 #A0891F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##39310B#FFFFFF#000000##FFFFFF
##39310B1.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)
#373006
Deuteranopia (green-blind)
#39320D
Tritanopia (blue-blind)
#3E2D29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39310b;
/* rgb */ color: rgb(57, 49, 11);
/* oklch */ color: oklch(31.3% 0.055 97.1);
Tailwind
colors: {
  custom: {
    50: '#71684d',
    500: '#39310b',
    950: '#000000',
  },
}
SCSS
$custom: #39310b;
$custom-light: #71684d;
$custom-dark: #000000;
JSON
{
  "hex": "#39310b",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 49.565,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31328,
    "c": 0.0552,
    "h": 97.1
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#39310B
secondary
#2A3776
accent
#5BEB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #39310B

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

Preview Lab → · Contrast checker → · Palette generator →

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