#313009#313009

#313009 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.1% C 0.056 H 107.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#313009
RGBrgb(49, 48, 9)
HSLhsl(59, 69%, 11%)
HSVhsv(59, 82%, 19%)
CMYKcmyk(0%, 2%, 81.6%, 80.8%)
CIE-LABlab(19.17, -5.45, 23.45)
CIE-LCHlch(19.17, 24.07, 103.09°)
OKLaboklab(30.13% -0.0173 0.0536)
OKLCHoklch(30.13% 0.056 107.9)
XYZxyz(2.3730, 2.7867, 0.6713)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313009 #090A31
analogous
#311C09 #313009 #1E3109
triadic
#313009 #093130 #300931
tetradic
#313009 #09311C #090A31 #31091E
square
#313009 #09311C #090A31 #31091E
split-complementary
#313009 #091E31 #1C0931
monochromatic
#1A1905 #1A1905 #313009 #656312 #98951C

Accessibility & contrast

On white

13.48
#313009 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#313009 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313009
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313009#FFFFFF#000000##FFFFFF
##3130091.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E04
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#352C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #313009;
/* rgb */ color: rgb(49, 48, 9);
/* oklch */ color: oklch(30.1% 0.056 107.9);
Tailwind
colors: {
  custom: {
    50: '#6b684b',
    500: '#313009',
    950: '#000000',
  },
}
SCSS
$custom: #313009;
$custom-light: #6b684b;
$custom-dark: #000000;
JSON
{
  "hex": "#313009",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 9
  },
  "hsl": {
    "h": 58.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.3013,
    "c": 0.05628,
    "h": 107.9
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#313009
secondary
#27296F
accent
#40EC3C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313009

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

Preview Lab → · Contrast checker → · Palette generator →

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