#31300A#31300A

#31300A is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.1% C 0.055 H 107.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#31300A
RGBrgb(49, 48, 10)
HSLhsl(58, 66%, 12%)
HSVhsv(58, 80%, 19%)
CMYKcmyk(0%, 2%, 79.6%, 80.8%)
CIE-LABlab(19.18, -5.38, 23.05)
CIE-LCHlch(19.18, 23.67, 103.14°)
OKLaboklab(30.14% -0.017 0.0527)
OKLCHoklch(30.14% 0.055 107.8)
XYZxyz(2.3784, 2.7889, 0.7001)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31300A #0A0B31
analogous
#311D0A #31300A #1F310A
triadic
#31300A #0A3130 #300A31
tetradic
#31300A #0A311D #0A0B31 #310A1F
square
#31300A #0A311D #0A0B31 #310A1F
split-complementary
#31300A #0A1F31 #1D0A31
monochromatic
#191905 #191905 #31300A #646214 #97941F

Accessibility & contrast

On white

13.48
#31300A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#31300A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31300A
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31300A#FFFFFF#000000##FFFFFF
##31300A1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E05
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#352C28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #31300a;
/* rgb */ color: rgb(49, 48, 10);
/* oklch */ color: oklch(30.1% 0.055 107.8);
Tailwind
colors: {
  custom: {
    50: '#6b684c',
    500: '#31300a',
    950: '#000000',
  },
}
SCSS
$custom: #31300a;
$custom-light: #6b684c;
$custom-dark: #000000;
JSON
{
  "hex": "#31300a",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 10
  },
  "hsl": {
    "h": 58.462,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.3014,
    "c": 0.05538,
    "h": 107.8
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#31300A
secondary
#292A6E
accent
#43E93F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #31300A

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

Preview Lab → · Contrast checker → · Palette generator →

#31300A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva