#313006#313006

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

Color values

HEX#313006
RGBrgb(49, 48, 6)
HSLhsl(59, 78%, 11%)
HSVhsv(59, 88%, 19%)
CMYKcmyk(0%, 2%, 87.8%, 80.8%)
CIE-LABlab(19.14, -5.67, 24.64)
CIE-LCHlch(19.14, 25.28, 102.97°)
OKLaboklab(30.1% -0.0184 0.0562)
OKLCHoklch(30.1% 0.059 108.1)
XYZxyz(2.3565, 2.7801, 0.5847)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313006 #060731
analogous
#311A06 #313006 #1C3106
triadic
#313006 #063130 #300631
tetradic
#313006 #06311A #060731 #31061C
square
#313006 #06311A #060731 #31061C
split-complementary
#313006 #061C31 #1A0631
monochromatic
#1B1B03 #1B1B03 #313006 #68650D #9E9B13

Accessibility & contrast

On white

13.50
#313006 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313006
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313006#FFFFFF#000000##FFFFFF
##3130061.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E01
Deuteranopia (green-blind)
#362F09
Tritanopia (blue-blind)
#352C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #313006;
/* rgb */ color: rgb(49, 48, 6);
/* oklch */ color: oklch(30.1% 0.059 108.1);
Tailwind
colors: {
  custom: {
    50: '#6b684a',
    500: '#313006',
    950: '#000000',
  },
}
SCSS
$custom: #313006;
$custom-light: #6b684a;
$custom-dark: #000000;
JSON
{
  "hex": "#313006",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 6
  },
  "hsl": {
    "h": 58.605,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30099,
    "c": 0.05907,
    "h": 108.1
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#313006
secondary
#212372
accent
#38F533
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313006

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

Preview Lab → · Contrast checker → · Palette generator →

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