#312703#312703

#312703 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.6% C 0.053 H 93.0°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#312703
RGBrgb(49, 39, 3)
HSLhsl(47, 88%, 10%)
HSVhsv(47, 94%, 19%)
CMYKcmyk(0%, 20.4%, 93.9%, 80.8%)
CIE-LABlab(16.06, 0.06, 22.14)
CIE-LCHlch(16.06, 22.14, 89.85°)
OKLaboklab(27.64% -0.0028 0.0532)
OKLCHoklch(27.64% 0.053 93)
XYZxyz(2.0087, 2.1107, 0.3877)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312703 #030D31
analogous
#311003 #312703 #243103
triadic
#312703 #033127 #270331
tetradic
#312703 #033110 #030D31 #310324
square
#312703 #033110 #030D31 #310324
split-complementary
#312703 #032431 #100331
monochromatic
#1D1702 #1D1702 #312703 #6B5507 #A4830A

Accessibility & contrast

On white

14.77
#312703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#312703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312703
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312703#FFFFFF#000000##FFFFFF
##3127031.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2F2905
Tritanopia (blue-blind)
#362320
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #312703;
/* rgb */ color: rgb(49, 39, 3);
/* oklch */ color: oklch(27.6% 0.053 93.0);
Tailwind
colors: {
  custom: {
    50: '#6b6048',
    500: '#312703',
    950: '#000000',
  },
}
SCSS
$custom: #312703;
$custom-light: #6b6048;
$custom-dark: #000000;
JSON
{
  "hex": "#312703",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 3
  },
  "hsl": {
    "h": 46.957,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27642,
    "c": 0.05322,
    "h": 93
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#312703
secondary
#1B2F74
accent
#58FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #312703

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

Preview Lab → · Contrast checker → · Palette generator →

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