#313610#313610

#313610 is a dark, muted yellow. Relative luminance 0.033; OKLCH L 31.9% C 0.058 H 116.1°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#313610
RGBrgb(49, 54, 16)
HSLhsl(68, 54%, 14%)
HSVhsv(68, 70%, 21%)
CMYKcmyk(9.3%, 0%, 70.4%, 78.8%)
CIE-LABlab(21.32, -8.67, 22.57)
CIE-LCHlch(21.32, 24.18, 111.01°)
OKLaboklab(31.87% -0.0254 0.0519)
OKLCHoklch(31.87% 0.058 116.1)
XYZxyz(2.6794, 3.3287, 0.9915)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313610 #151036
analogous
#362810 #313610 #1E3610
triadic
#313610 #103136 #361031
tetradic
#313610 #103628 #151036 #36101E
square
#313610 #103628 #151036 #36101E
split-complementary
#313610 #101E36 #281036
monochromatic
#151807 #151807 #313610 #5C651E #87942C

Accessibility & contrast

On white

12.61
#313610 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#313610 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313610
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313610#FFFFFF#000000##FFFFFF
##3136101.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330C
Deuteranopia (green-blind)
#3A3312
Tritanopia (blue-blind)
#34332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #313610;
/* rgb */ color: rgb(49, 54, 16);
/* oklch */ color: oklch(31.9% 0.058 116.1);
Tailwind
colors: {
  custom: {
    50: '#6a6c50',
    500: '#313610',
    950: '#000000',
  },
}
SCSS
$custom: #313610;
$custom-light: #6a6c50;
$custom-dark: #000000;
JSON
{
  "hex": "#313610",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 16
  },
  "hsl": {
    "h": 67.895,
    "s": 54.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31869,
    "c": 0.05782,
    "h": 116.1
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#313610
secondary
#3A3270
accent
#4ADE5E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313610

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

Preview Lab → · Contrast checker → · Palette generator →

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