#39310F#39310F

#39310F is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.4% C 0.051 H 96.0°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#39310F
RGBrgb(57, 49, 15)
HSLhsl(49, 58%, 14%)
HSVhsv(49, 74%, 22%)
CMYKcmyk(0%, 14%, 73.7%, 77.6%)
CIE-LABlab(20.44, -1.35, 22.39)
CIE-LCHlch(20.44, 22.43, 93.46°)
OKLaboklab(31.37% -0.0054 0.0512)
OKLCHoklch(31.37% 0.051 96)
XYZxyz(2.8720, 3.1011, 0.8991)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39310F #0F1739
analogous
#391C0F #39310F #2C390F
triadic
#39310F #0F3931 #310F39
tetradic
#39310F #0F391C #0F1739 #390F2C
square
#39310F #0F391C #0F1739 #390F2C
split-complementary
#39310F #0F2C39 #1C0F39
monochromatic
#181506 #181506 #39310F #695B1C #9A8429

Accessibility & contrast

On white

12.96
#39310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39310F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39310F#FFFFFF#000000##FFFFFF
##39310F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300B
Deuteranopia (green-blind)
#393211
Tritanopia (blue-blind)
#3E2D2A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39310f;
/* rgb */ color: rgb(57, 49, 15);
/* oklch */ color: oklch(31.4% 0.051 96.0);
Tailwind
colors: {
  custom: {
    50: '#71684f',
    500: '#39310f',
    950: '#000000',
  },
}
SCSS
$custom: #39310f;
$custom-light: #71684f;
$custom-dark: #000000;
JSON
{
  "hex": "#39310f",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 48.571,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31373,
    "c": 0.05146,
    "h": 96
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#39310F
secondary
#303D73
accent
#64E246
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #39310F

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

Preview Lab → · Contrast checker → · Palette generator →

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