#313107#313107

#313107 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.4% C 0.059 H 109.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#313107
RGBrgb(49, 49, 7)
HSLhsl(60, 75%, 11%)
HSVhsv(60, 86%, 19%)
CMYKcmyk(0%, 0%, 85.7%, 80.8%)
CIE-LABlab(19.49, -6.24, 24.64)
CIE-LCHlch(19.49, 25.42, 104.21°)
OKLaboklab(30.39% -0.0198 0.056)
OKLCHoklch(30.39% 0.059 109.5)
XYZxyz(2.4034, 2.8650, 0.6274)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313107 #070731
analogous
#311C07 #313107 #1C3107
triadic
#313107 #073131 #310731
tetradic
#313107 #07311C #070731 #31071C
square
#313107 #07311C #070731 #31071C
split-complementary
#313107 #071C31 #1C0731
monochromatic
#1B1B04 #1B1B04 #313107 #67670F #9C9C16

Accessibility & contrast

On white

13.35
#313107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#313107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313107
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313107#FFFFFF#000000##FFFFFF
##3131071.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F02
Deuteranopia (green-blind)
#36300A
Tritanopia (blue-blind)
#352D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #313107;
/* rgb */ color: rgb(49, 49, 7);
/* oklch */ color: oklch(30.4% 0.059 109.5);
Tailwind
colors: {
  custom: {
    50: '#6b684a',
    500: '#313107',
    950: '#000000',
  },
}
SCSS
$custom: #313107;
$custom-light: #6b684a;
$custom-dark: #000000;
JSON
{
  "hex": "#313107",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 60,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30385,
    "c": 0.05937,
    "h": 109.5
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#313107
secondary
#232371
accent
#36F236
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313107

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

Preview Lab → · Contrast checker → · Palette generator →

#313107 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva