#312906#312906

#312906 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.052 H 95.9°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#312906
RGBrgb(49, 41, 6)
HSLhsl(49, 78%, 11%)
HSVhsv(49, 88%, 19%)
CMYKcmyk(0%, 16.3%, 87.8%, 80.8%)
CIE-LABlab(16.76, -1.06, 21.79)
CIE-LCHlch(16.76, 21.82, 92.80°)
OKLaboklab(28.21% -0.0053 0.0514)
OKLCHoklch(28.21% 0.052 95.9)
XYZxyz(2.0925, 2.2521, 0.4967)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312906 #060E31
analogous
#311306 #312906 #233106
triadic
#312906 #063129 #290631
tetradic
#312906 #063113 #060E31 #310623
square
#312906 #063113 #060E31 #310623
split-complementary
#312906 #062331 #130631
monochromatic
#1B1703 #1B1703 #312906 #68570D #9E8413

Accessibility & contrast

On white

14.48
#312906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#312906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312906
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312906#FFFFFF#000000##FFFFFF
##3129061.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2802
Deuteranopia (green-blind)
#302A08
Tritanopia (blue-blind)
#362522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #312906;
/* rgb */ color: rgb(49, 41, 6);
/* oklch */ color: oklch(28.2% 0.052 95.9);
Tailwind
colors: {
  custom: {
    50: '#6b6249',
    500: '#312906',
    950: '#000000',
  },
}
SCSS
$custom: #312906;
$custom-light: #6b6249;
$custom-dark: #000000;
JSON
{
  "hex": "#312906",
  "rgb": {
    "r": 49,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 48.837,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28206,
    "c": 0.05164,
    "h": 95.9
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#312906
secondary
#213072
accent
#57F533
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #312906

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

Preview Lab → · Contrast checker → · Palette generator →

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