#313115#313115

#313115 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.6% C 0.045 H 108.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#313115
RGBrgb(49, 49, 21)
HSLhsl(60, 40%, 14%)
HSVhsv(60, 57%, 19%)
CMYKcmyk(0%, 0%, 57.1%, 80.8%)
CIE-LABlab(19.65, -4.98, 17.74)
CIE-LCHlch(19.65, 18.43, 105.68°)
OKLaboklab(30.56% -0.0143 0.0422)
OKLCHoklch(30.56% 0.045 108.8)
XYZxyz(2.5003, 2.9038, 1.1381)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313115 #151531
analogous
#312315 #313115 #233115
triadic
#313115 #153131 #311531
tetradic
#313115 #153123 #151531 #311523
square
#313115 #153123 #151531 #311523
split-complementary
#313115 #152331 #231531
monochromatic
#151509 #151509 #313115 #5C5C27 #87873A

Accessibility & contrast

On white

13.28
#313115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#313115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313115
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313115#FFFFFF#000000##FFFFFF
##3131151.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F13
Deuteranopia (green-blind)
#353016
Tritanopia (blue-blind)
#342E2B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #313115;
/* rgb */ color: rgb(49, 49, 21);
/* oklch */ color: oklch(30.6% 0.045 108.8);
Tailwind
colors: {
  custom: {
    50: '#6a6853',
    500: '#313115',
    950: '#000000',
  },
}
SCSS
$custom: #313115;
$custom-light: #6a6853;
$custom-dark: #000000;
JSON
{
  "hex": "#313115",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30563,
    "c": 0.04454,
    "h": 108.8
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#313115
secondary
#3A3A68
accent
#58D058
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #313115

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

Preview Lab → · Contrast checker → · Palette generator →

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