#313710#313710

#313710 is a dark, muted yellow. Relative luminance 0.034; OKLCH L 32.1% C 0.059 H 117.2°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#313710
RGBrgb(49, 55, 16)
HSLhsl(69, 55%, 14%)
HSVhsv(69, 71%, 22%)
CMYKcmyk(10.9%, 0%, 70.9%, 78.4%)
CIE-LABlab(21.66, -9.28, 22.95)
CIE-LCHlch(21.66, 24.76, 112.02°)
OKLaboklab(32.15% -0.0271 0.0527)
OKLCHoklch(32.15% 0.059 117.2)
XYZxyz(2.7264, 3.4228, 1.0071)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313710 #161037
analogous
#372A10 #313710 #1E3710
triadic
#313710 #103137 #371031
tetradic
#313710 #10372A #161037 #37101E
square
#313710 #10372A #161037 #37101E
split-complementary
#313710 #101E37 #2A1037
monochromatic
#151807 #151807 #313710 #5B661E #85962C

Accessibility & contrast

On white

12.47
#313710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#313710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313710
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313710#FFFFFF#000000##FFFFFF
##3137101.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340B
Deuteranopia (green-blind)
#3A3413
Tritanopia (blue-blind)
#34342F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #313710;
/* rgb */ color: rgb(49, 55, 16);
/* oklch */ color: oklch(32.1% 0.059 117.2);
Tailwind
colors: {
  custom: {
    50: '#6a6d50',
    500: '#313710',
    950: '#000000',
  },
}
SCSS
$custom: #313710;
$custom-light: #6a6d50;
$custom-dark: #000000;
JSON
{
  "hex": "#313710",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 16
  },
  "hsl": {
    "h": 69.231,
    "s": 54.93,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32148,
    "c": 0.05931,
    "h": 117.2
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#313710
secondary
#3C3271
accent
#4ADE60
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313710

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

Preview Lab → · Contrast checker → · Palette generator →

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