#313509#313509

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

Color values

HEX#313509
RGBrgb(49, 53, 9)
HSLhsl(65, 71%, 12%)
HSVhsv(65, 83%, 21%)
CMYKcmyk(7.5%, 0%, 83%, 79.2%)
CIE-LABlab(20.90, -8.61, 25.40)
CIE-LCHlch(20.90, 26.82, 108.72°)
OKLaboklab(31.51% -0.0261 0.0572)
OKLCHoklch(31.51% 0.063 114.6)
XYZxyz(2.5891, 3.2189, 0.7433)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313509 #0D0935
analogous
#352309 #313509 #1B3509
triadic
#313509 #093135 #350931
tetradic
#313509 #093523 #0D0935 #35091B
square
#313509 #093523 #0D0935 #35091B
split-complementary
#313509 #091B35 #230935
monochromatic
#181A04 #181A04 #313509 #616912 #929E1B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313509#FFFFFF#000000##FFFFFF
##3135091.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)
#393203
Deuteranopia (green-blind)
#39330C
Tritanopia (blue-blind)
#35312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #313509;
/* rgb */ color: rgb(49, 53, 9);
/* oklch */ color: oklch(31.5% 0.063 114.6);
Tailwind
colors: {
  custom: {
    50: '#6b6c4c',
    500: '#313509',
    950: '#000000',
  },
}
SCSS
$custom: #313509;
$custom-light: #6b6c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#313509",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 9
  },
  "hsl": {
    "h": 65.455,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31515,
    "c": 0.06287,
    "h": 114.6
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#313509
secondary
#2E2773
accent
#3AEE4A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313509

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

Preview Lab → · Contrast checker → · Palette generator →

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