#313105#313105

#313105 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.4% C 0.061 H 109.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#313105
RGBrgb(49, 49, 5)
HSLhsl(60, 81%, 11%)
HSVhsv(60, 90%, 19%)
CMYKcmyk(0%, 0%, 89.8%, 80.8%)
CIE-LABlab(19.48, -6.38, 25.43)
CIE-LCHlch(19.48, 26.22, 104.09°)
OKLaboklab(30.37% -0.0205 0.0577)
OKLCHoklch(30.37% 0.061 109.6)
XYZxyz(2.3924, 2.8606, 0.5697)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313105 #050531
analogous
#311B05 #313105 #1B3105
triadic
#313105 #053131 #310531
tetradic
#313105 #05311B #050531 #31051B
square
#313105 #05311B #050531 #31051B
split-complementary
#313105 #051B31 #1B0531
monochromatic
#1C1C03 #1C1C03 #313105 #69690B #A0A010

Accessibility & contrast

On white

13.36
#313105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#313105 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313105
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313105#FFFFFF#000000##FFFFFF
##3131051.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#363008
Tritanopia (blue-blind)
#352D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #313105;
/* rgb */ color: rgb(49, 49, 5);
/* oklch */ color: oklch(30.4% 0.061 109.6);
Tailwind
colors: {
  custom: {
    50: '#6b6849',
    500: '#313105',
    950: '#000000',
  },
}
SCSS
$custom: #313105;
$custom-light: #6b6849;
$custom-dark: #000000;
JSON
{
  "hex": "#313105",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 5
  },
  "hsl": {
    "h": 60,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30365,
    "c": 0.06123,
    "h": 109.6
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#313105
secondary
#1F1F72
accent
#30F830
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313105

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

Preview Lab → · Contrast checker → · Palette generator →

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