#313607#313607

#313607 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.8% C 0.066 H 115.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#313607
RGBrgb(49, 54, 7)
HSLhsl(66, 77%, 12%)
HSVhsv(66, 87%, 21%)
CMYKcmyk(9.3%, 0%, 87%, 78.8%)
CIE-LABlab(21.23, -9.36, 26.58)
CIE-LCHlch(21.23, 28.18, 109.41°)
OKLaboklab(31.78% -0.0285 0.0595)
OKLCHoklch(31.78% 0.066 115.6)
XYZxyz(2.6242, 3.3067, 0.7010)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313607 #0C0736
analogous
#362407 #313607 #1A3607
triadic
#313607 #073136 #360731
tetradic
#313607 #073624 #0C0736 #36071A
square
#313607 #073624 #0C0736 #36071A
split-complementary
#313607 #071A36 #240736
monochromatic
#191B04 #191B04 #313607 #626C0E #93A215

Accessibility & contrast

On white

12.64
#313607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#313607 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313607
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313607#FFFFFF#000000##FFFFFF
##3136071.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3301
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#35322D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #313607;
/* rgb */ color: rgb(49, 54, 7);
/* oklch */ color: oklch(31.8% 0.066 115.6);
Tailwind
colors: {
  custom: {
    50: '#6b6c4b',
    500: '#313607',
    950: '#000000',
  },
}
SCSS
$custom: #313607;
$custom-light: #6b6c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#313607",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 7
  },
  "hsl": {
    "h": 66.383,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31776,
    "c": 0.06592,
    "h": 115.6
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#313607
secondary
#2C2376
accent
#34F449
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313607

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

Preview Lab → · Contrast checker → · Palette generator →

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