#31360D#31360D

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

Color values

HEX#31360D
RGBrgb(49, 54, 13)
HSLhsl(67, 61%, 13%)
HSVhsv(67, 76%, 21%)
CMYKcmyk(9.3%, 0%, 75.9%, 78.8%)
CIE-LABlab(21.28, -8.93, 24.09)
CIE-LCHlch(21.28, 25.69, 110.34°)
OKLaboklab(31.83% -0.0265 0.0547)
OKLCHoklch(31.83% 0.061 115.9)
XYZxyz(2.6585, 3.3204, 0.8815)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31360D #120D36
analogous
#36260D #31360D #1C360D
triadic
#31360D #0D3136 #360D31
tetradic
#31360D #0D3626 #120D36 #360D1C
square
#31360D #0D3626 #120D36 #360D1C
split-complementary
#31360D #0D1C36 #260D36
monochromatic
#161906 #161906 #31360D #5E6719 #8B9925

Accessibility & contrast

On white

12.62
#31360D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31360D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31360D#FFFFFF#000000##FFFFFF
##31360D1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3308
Deuteranopia (green-blind)
#3A3310
Tritanopia (blue-blind)
#35332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #31360d;
/* rgb */ color: rgb(49, 54, 13);
/* oklch */ color: oklch(31.8% 0.061 115.9);
Tailwind
colors: {
  custom: {
    50: '#6b6c4e',
    500: '#31360d',
    950: '#000000',
  },
}
SCSS
$custom: #31360d;
$custom-light: #6b6c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#31360d",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 13
  },
  "hsl": {
    "h": 67.317,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31834,
    "c": 0.06079,
    "h": 115.9
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#31360D
secondary
#362D71
accent
#43E457
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #31360D

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

Preview Lab → · Contrast checker → · Palette generator →

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