#313106#313106

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

Color values

HEX#313106
RGBrgb(49, 49, 6)
HSLhsl(60, 78%, 11%)
HSVhsv(60, 88%, 19%)
CMYKcmyk(0%, 0%, 87.8%, 80.8%)
CIE-LABlab(19.49, -6.31, 25.04)
CIE-LCHlch(19.49, 25.82, 104.15°)
OKLaboklab(30.38% -0.0201 0.0568)
OKLCHoklch(30.38% 0.06 109.5)
XYZxyz(2.3979, 2.8628, 0.5985)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313106 #060631
analogous
#311B06 #313106 #1B3106
triadic
#313106 #063131 #310631
tetradic
#313106 #06311B #060631 #31061B
square
#313106 #06311B #060631 #31061B
split-complementary
#313106 #061B31 #1B0631
monochromatic
#1B1B03 #1B1B03 #313106 #68680D #9E9E13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313106#FFFFFF#000000##FFFFFF
##3131061.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)
#362E01
Deuteranopia (green-blind)
#363009
Tritanopia (blue-blind)
#352D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #313106;
/* rgb */ color: rgb(49, 49, 6);
/* oklch */ color: oklch(30.4% 0.060 109.5);
Tailwind
colors: {
  custom: {
    50: '#6b684a',
    500: '#313106',
    950: '#000000',
  },
}
SCSS
$custom: #313106;
$custom-light: #6b684a;
$custom-dark: #000000;
JSON
{
  "hex": "#313106",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 6
  },
  "hsl": {
    "h": 60,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30375,
    "c": 0.06029,
    "h": 109.5
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#313106
secondary
#212172
accent
#33F533
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313106

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

Preview Lab → · Contrast checker → · Palette generator →

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