#313507#313507

#313507 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.5% C 0.065 H 114.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#313507
RGBrgb(49, 53, 7)
HSLhsl(65, 77%, 12%)
HSVhsv(65, 87%, 21%)
CMYKcmyk(7.5%, 0%, 86.8%, 79.2%)
CIE-LABlab(20.88, -8.75, 26.20)
CIE-LCHlch(20.88, 27.62, 108.47°)
OKLaboklab(31.5% -0.0268 0.0588)
OKLCHoklch(31.5% 0.065 114.5)
XYZxyz(2.5782, 3.2146, 0.6856)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313507 #0B0735
analogous
#352207 #313507 #1A3507
triadic
#313507 #073135 #350731
tetradic
#313507 #073522 #0B0735 #35071A
square
#313507 #073522 #0B0735 #35071A
split-complementary
#313507 #071A35 #220735
monochromatic
#191B04 #191B04 #313507 #636B0E #95A115

Accessibility & contrast

On white

12.78
#313507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#313507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313507
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313507#FFFFFF#000000##FFFFFF
##3135071.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3201
Deuteranopia (green-blind)
#39330B
Tritanopia (blue-blind)
#35312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #313507;
/* rgb */ color: rgb(49, 53, 7);
/* oklch */ color: oklch(31.5% 0.065 114.5);
Tailwind
colors: {
  custom: {
    50: '#6b6c4b',
    500: '#313507',
    950: '#000000',
  },
}
SCSS
$custom: #313507;
$custom-light: #6b6c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#313507",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 7
  },
  "hsl": {
    "h": 65.217,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31496,
    "c": 0.06457,
    "h": 114.5
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#313507
secondary
#2A2375
accent
#35F345
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313507

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

Preview Lab → · Contrast checker → · Palette generator →

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