#31280A#31280A

#31280A is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.047 H 92.3°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#31280A
RGBrgb(49, 40, 10)
HSLhsl(46, 66%, 12%)
HSVhsv(46, 80%, 19%)
CMYKcmyk(0%, 18.4%, 79.6%, 80.8%)
CIE-LABlab(16.47, -0.08, 19.80)
CIE-LCHlch(16.47, 19.80, 90.24°)
OKLaboklab(27.99% -0.0019 0.0468)
OKLCHoklch(27.99% 0.047 92.3)
XYZxyz(2.0803, 2.1926, 0.6007)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31280A #0A1331
analogous
#31150A #31280A #27310A
triadic
#31280A #0A3128 #280A31
tetradic
#31280A #0A3115 #0A1331 #310A27
square
#31280A #0A3115 #0A1331 #310A27
split-complementary
#31280A #0A2731 #150A31
monochromatic
#191505 #191505 #31280A #645114 #977B1F

Accessibility & contrast

On white

14.60
#31280A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#31280A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31280A
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31280A#FFFFFF#000000##FFFFFF
##31280A1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2707
Deuteranopia (green-blind)
#2F2A0B
Tritanopia (blue-blind)
#362422
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #31280a;
/* rgb */ color: rgb(49, 40, 10);
/* oklch */ color: oklch(28.0% 0.047 92.3);
Tailwind
colors: {
  custom: {
    50: '#6b614b',
    500: '#31280a',
    950: '#000000',
  },
}
SCSS
$custom: #31280a;
$custom-light: #6b614b;
$custom-dark: #000000;
JSON
{
  "hex": "#31280a",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 10
  },
  "hsl": {
    "h": 46.154,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27989,
    "c": 0.04679,
    "h": 92.3
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#31280A
secondary
#29396E
accent
#66E93F
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #31280A

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

Preview Lab → · Contrast checker → · Palette generator →

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