#313103#313103

#313103 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.3% C 0.063 H 109.6°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#313103
RGBrgb(49, 49, 3)
HSLhsl(60, 88%, 10%)
HSVhsv(60, 94%, 19%)
CMYKcmyk(0%, 0%, 93.9%, 80.8%)
CIE-LABlab(19.46, -6.53, 26.23)
CIE-LCHlch(19.46, 27.03, 103.98°)
OKLaboklab(30.34% -0.0212 0.0595)
OKLCHoklch(30.34% 0.063 109.6)
XYZxyz(2.3815, 2.8562, 0.5120)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313103 #030331
analogous
#311A03 #313103 #1A3103
triadic
#313103 #033131 #310331
tetradic
#313103 #03311A #030331 #31031A
square
#313103 #03311A #030331 #31031A
split-complementary
#313103 #031A31 #1A0331
monochromatic
#1D1D02 #1D1D02 #313103 #6B6B07 #A4A40A

Accessibility & contrast

On white

13.37
#313103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#313103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313103
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313103#FFFFFF#000000##FFFFFF
##3131031.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#363006
Tritanopia (blue-blind)
#352D28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #313103;
/* rgb */ color: rgb(49, 49, 3);
/* oklch */ color: oklch(30.3% 0.063 109.6);
Tailwind
colors: {
  custom: {
    50: '#6b6849',
    500: '#313103',
    950: '#000000',
  },
}
SCSS
$custom: #313103;
$custom-light: #6b6849;
$custom-dark: #000000;
JSON
{
  "hex": "#313103",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 60,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.30344,
    "c": 0.06313,
    "h": 109.6
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#313103
secondary
#1B1B74
accent
#29FF29
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313103

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

Preview Lab → · Contrast checker → · Palette generator →

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