#313007#313007

#313007 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.1% C 0.058 H 108.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#313007
RGBrgb(49, 48, 7)
HSLhsl(59, 75%, 11%)
HSVhsv(59, 86%, 19%)
CMYKcmyk(0%, 2%, 85.7%, 80.8%)
CIE-LABlab(19.15, -5.60, 24.24)
CIE-LCHlch(19.15, 24.88, 103.01°)
OKLaboklab(30.11% -0.018 0.0553)
OKLCHoklch(30.11% 0.058 108)
XYZxyz(2.3620, 2.7823, 0.6136)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313007 #070831
analogous
#311B07 #313007 #1D3107
triadic
#313007 #073130 #300731
tetradic
#313007 #07311B #070831 #31071D
square
#313007 #07311B #070831 #31071D
split-complementary
#313007 #071D31 #1B0731
monochromatic
#1B1A04 #1B1A04 #313007 #67640F #9C9916

Accessibility & contrast

On white

13.49
#313007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#313007 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313007
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313007#FFFFFF#000000##FFFFFF
##3130071.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E02
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#352C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #313007;
/* rgb */ color: rgb(49, 48, 7);
/* oklch */ color: oklch(30.1% 0.058 108.0);
Tailwind
colors: {
  custom: {
    50: '#6b684a',
    500: '#313007',
    950: '#000000',
  },
}
SCSS
$custom: #313007;
$custom-light: #6b684a;
$custom-dark: #000000;
JSON
{
  "hex": "#313007",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 7
  },
  "hsl": {
    "h": 58.571,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.3011,
    "c": 0.05813,
    "h": 108
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#313007
secondary
#232571
accent
#3BF236
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313007

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

Preview Lab → · Contrast checker → · Palette generator →

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