#312F0E#312F0E

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

Color values

HEX#312F0E
RGBrgb(49, 47, 14)
HSLhsl(57, 56%, 12%)
HSVhsv(57, 71%, 19%)
CMYKcmyk(0%, 4.1%, 71.4%, 80.8%)
CIE-LABlab(18.88, -4.41, 20.88)
CIE-LCHlch(18.88, 21.34, 101.92°)
OKLaboklab(29.91% -0.0137 0.0483)
OKLCHoklch(29.91% 0.05 105.8)
XYZxyz(2.3625, 2.7178, 0.8155)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312F0E #0E1031
analogous
#311D0E #312F0E #22310E
triadic
#312F0E #0E312F #2F0E31
tetradic
#312F0E #0E311D #0E1031 #310E22
square
#312F0E #0E311D #0E1031 #310E22
split-complementary
#312F0E #0E2231 #1D0E31
monochromatic
#181707 #181707 #312F0E #615D1C #908A29

Accessibility & contrast

On white

13.60
#312F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #312F0E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312F0E#FFFFFF#000000##FFFFFF
##312F0E1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0A
Deuteranopia (green-blind)
#342F10
Tritanopia (blue-blind)
#352C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #312f0e;
/* rgb */ color: rgb(49, 47, 14);
/* oklch */ color: oklch(29.9% 0.050 105.8);
Tailwind
colors: {
  custom: {
    50: '#6a674e',
    500: '#312f0e',
    950: '#000000',
  },
}
SCSS
$custom: #312f0e;
$custom-light: #6a674e;
$custom-dark: #000000;
JSON
{
  "hex": "#312f0e",
  "rgb": {
    "r": 49,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 56.571,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29914,
    "c": 0.05016,
    "h": 105.8
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#312F0E
secondary
#2F336C
accent
#51DF49
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #312F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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