#312F0D#312F0D

#312F0D is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.9% C 0.051 H 105.9°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#312F0D
RGBrgb(49, 47, 13)
HSLhsl(57, 58%, 12%)
HSVhsv(57, 73%, 19%)
CMYKcmyk(0%, 4.1%, 73.5%, 80.8%)
CIE-LABlab(18.86, -4.50, 21.36)
CIE-LCHlch(18.86, 21.83, 101.89°)
OKLaboklab(29.9% -0.014 0.0493)
OKLCHoklch(29.9% 0.051 105.9)
XYZxyz(2.3559, 2.7151, 0.7807)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312F0D #0D0F31
analogous
#311D0D #312F0D #21310D
triadic
#312F0D #0D312F #2F0D31
tetradic
#312F0D #0D311D #0D0F31 #310D21
square
#312F0D #0D311D #0D0F31 #310D21
split-complementary
#312F0D #0D2131 #1D0D31
monochromatic
#181706 #181706 #312F0D #615D1A #928C27

Accessibility & contrast

On white

13.61
#312F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#312F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312F0D
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312F0D#FFFFFF#000000##FFFFFF
##312F0D1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D09
Deuteranopia (green-blind)
#342F0F
Tritanopia (blue-blind)
#352B28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #312f0d;
/* rgb */ color: rgb(49, 47, 13);
/* oklch */ color: oklch(29.9% 0.051 105.9);
Tailwind
colors: {
  custom: {
    50: '#6a674d',
    500: '#312f0d',
    950: '#000000',
  },
}
SCSS
$custom: #312f0d;
$custom-light: #6a674d;
$custom-dark: #000000;
JSON
{
  "hex": "#312f0d",
  "rgb": {
    "r": 49,
    "g": 47,
    "b": 13
  },
  "hsl": {
    "h": 56.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29901,
    "c": 0.05121,
    "h": 105.9
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#312F0D
secondary
#2E316C
accent
#4FE147
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #312F0D

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

Preview Lab → · Contrast checker → · Palette generator →

#312F0D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva