#313303#313303

#313303 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.9% C 0.066 H 112.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#313303
RGBrgb(49, 51, 3)
HSLhsl(63, 89%, 11%)
HSVhsv(63, 94%, 20%)
CMYKcmyk(3.9%, 0%, 94.1%, 80%)
CIE-LABlab(20.15, -7.79, 27.02)
CIE-LCHlch(20.15, 28.12, 106.09°)
OKLaboklab(30.9% -0.0247 0.0607)
OKLCHoklch(30.9% 0.066 112.1)
XYZxyz(2.4670, 3.0273, 0.5405)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313303 #050333
analogous
#331D03 #313303 #193303
triadic
#313303 #033133 #330331
tetradic
#313303 #03331D #050333 #330319
square
#313303 #03331D #050333 #330319
split-complementary
#313303 #031933 #1D0333
monochromatic
#1C1D02 #1C1D02 #313303 #696D06 #A0A70A

Accessibility & contrast

On white

13.08
#313303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#313303 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313303
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313303#FFFFFF#000000##FFFFFF
##3133031.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#383106
Tritanopia (blue-blind)
#352F2A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #313303;
/* rgb */ color: rgb(49, 51, 3);
/* oklch */ color: oklch(30.9% 0.066 112.1);
Tailwind
colors: {
  custom: {
    50: '#6b6a49',
    500: '#313303',
    950: '#000000',
  },
}
SCSS
$custom: #313303;
$custom-light: #6b6a49;
$custom-dark: #000000;
JSON
{
  "hex": "#313303",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 3
  },
  "hsl": {
    "h": 62.5,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.309,
    "c": 0.06556,
    "h": 112.1
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#313303
secondary
#1F1C76
accent
#29FF32
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313303

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

Preview Lab → · Contrast checker → · Palette generator →

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