#31360B#31360B

#31360B is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.8% C 0.063 H 115.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#31360B
RGBrgb(49, 54, 11)
HSLhsl(67, 66%, 13%)
HSVhsv(67, 80%, 21%)
CMYKcmyk(9.3%, 0%, 79.6%, 78.8%)
CIE-LABlab(21.27, -9.08, 24.98)
CIE-LCHlch(21.27, 26.58, 109.99°)
OKLaboklab(31.81% -0.0272 0.0564)
OKLCHoklch(31.81% 0.063 115.8)
XYZxyz(2.6463, 3.3155, 0.8171)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31360B #100B36
analogous
#36250B #31360B #1B360B
triadic
#31360B #0B3136 #360B31
tetradic
#31360B #0B3625 #100B36 #360B1B
square
#31360B #0B3625 #100B36 #360B1B
split-complementary
#31360B #0B1B36 #250B36
monochromatic
#171905 #171905 #31360B #5F6915 #8D9C20

Accessibility & contrast

On white

12.63
#31360B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#31360B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31360B
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31360B#FFFFFF#000000##FFFFFF
##31360B1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31360b;
/* rgb */ color: rgb(49, 54, 11);
/* oklch */ color: oklch(31.8% 0.063 115.8);
Tailwind
colors: {
  custom: {
    50: '#6b6c4d',
    500: '#31360b',
    950: '#000000',
  },
}
SCSS
$custom: #31360b;
$custom-light: #6b6c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#31360b",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 11
  },
  "hsl": {
    "h": 66.977,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31813,
    "c": 0.06259,
    "h": 115.8
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#31360B
secondary
#332A73
accent
#3FE953
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #31360B

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

Preview Lab → · Contrast checker → · Palette generator →

#31360B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva