#313506#313506

#313506 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.5% C 0.065 H 114.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#313506
RGBrgb(49, 53, 6)
HSLhsl(65, 80%, 12%)
HSVhsv(65, 89%, 21%)
CMYKcmyk(7.5%, 0%, 88.7%, 79.2%)
CIE-LABlab(20.88, -8.82, 26.60)
CIE-LCHlch(20.88, 28.02, 108.35°)
OKLaboklab(31.49% -0.0271 0.0596)
OKLCHoklch(31.49% 0.065 114.5)
XYZxyz(2.5727, 3.2124, 0.6568)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313506 #0A0635
analogous
#352206 #313506 #1A3506
triadic
#313506 #063135 #350631
tetradic
#313506 #063522 #0A0635 #35061A
square
#313506 #063522 #0A0635 #35061A
split-complementary
#313506 #061A35 #220635
monochromatic
#191B03 #191B03 #313506 #646C0C #97A312

Accessibility & contrast

On white

12.79
#313506 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#313506 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313506
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313506#FFFFFF#000000##FFFFFF
##3135061.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#39330A
Tritanopia (blue-blind)
#35312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #313506;
/* rgb */ color: rgb(49, 53, 6);
/* oklch */ color: oklch(31.5% 0.065 114.5);
Tailwind
colors: {
  custom: {
    50: '#6b6c4a',
    500: '#313506',
    950: '#000000',
  },
}
SCSS
$custom: #313506;
$custom-light: #6b6c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#313506",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 6
  },
  "hsl": {
    "h": 65.106,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31487,
    "c": 0.06544,
    "h": 114.5
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#313506
secondary
#292175
accent
#32F642
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313506

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

Preview Lab → · Contrast checker → · Palette generator →

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