#312903#312903

#312903 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.2% C 0.055 H 96.9°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#312903
RGBrgb(49, 41, 3)
HSLhsl(50, 88%, 10%)
HSVhsv(50, 94%, 19%)
CMYKcmyk(0%, 16.3%, 93.9%, 80.8%)
CIE-LABlab(16.73, -1.29, 22.97)
CIE-LCHlch(16.73, 23.01, 93.22°)
OKLaboklab(28.17% -0.0066 0.0544)
OKLCHoklch(28.17% 0.055 96.9)
XYZxyz(2.0761, 2.2455, 0.4102)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312903 #030B31
analogous
#311203 #312903 #223103
triadic
#312903 #033129 #290331
tetradic
#312903 #033112 #030B31 #310322
square
#312903 #033112 #030B31 #310322
split-complementary
#312903 #032231 #120331
monochromatic
#1D1802 #1D1802 #312903 #6B5907 #A48A0A

Accessibility & contrast

On white

14.49
#312903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #312903
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312903#FFFFFF#000000##FFFFFF
##3129031.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#312A05
Tritanopia (blue-blind)
#362522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #312903;
/* rgb */ color: rgb(49, 41, 3);
/* oklch */ color: oklch(28.2% 0.055 96.9);
Tailwind
colors: {
  custom: {
    50: '#6b6248',
    500: '#312903',
    950: '#000000',
  },
}
SCSS
$custom: #312903;
$custom-light: #6b6248;
$custom-dark: #000000;
JSON
{
  "hex": "#312903",
  "rgb": {
    "r": 49,
    "g": 41,
    "b": 3
  },
  "hsl": {
    "h": 49.565,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2817,
    "c": 0.0548,
    "h": 96.9
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#312903
secondary
#1B2B74
accent
#4EFF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #312903

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

Preview Lab → · Contrast checker → · Palette generator →

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