#313003#313003

#313003 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.1% C 0.062 H 108.3°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#313003
RGBrgb(49, 48, 3)
HSLhsl(59, 88%, 10%)
HSVhsv(59, 94%, 19%)
CMYKcmyk(0%, 2%, 93.9%, 80.8%)
CIE-LABlab(19.11, -5.89, 25.83)
CIE-LCHlch(19.11, 26.49, 102.85°)
OKLaboklab(30.07% -0.0194 0.0588)
OKLCHoklch(30.07% 0.062 108.3)
XYZxyz(2.3401, 2.7735, 0.4982)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313003 #030431
analogous
#311903 #313003 #1B3103
triadic
#313003 #033130 #300331
tetradic
#313003 #033119 #030431 #31031B
square
#313003 #033119 #030431 #31031B
split-complementary
#313003 #031B31 #190331
monochromatic
#1D1C02 #1D1C02 #313003 #6B6807 #A4A10A

Accessibility & contrast

On white

13.51
#313003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#313003 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313003
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313003#FFFFFF#000000##FFFFFF
##3130031.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#362F06
Tritanopia (blue-blind)
#352C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #313003;
/* rgb */ color: rgb(49, 48, 3);
/* oklch */ color: oklch(30.1% 0.062 108.3);
Tailwind
colors: {
  custom: {
    50: '#6b6848',
    500: '#313003',
    950: '#000000',
  },
}
SCSS
$custom: #313003;
$custom-light: #6b6848;
$custom-dark: #000000;
JSON
{
  "hex": "#313003",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 3
  },
  "hsl": {
    "h": 58.696,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.30068,
    "c": 0.06196,
    "h": 108.3
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#313003
secondary
#1B1D74
accent
#2EFF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313003

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

Preview Lab → · Contrast checker → · Palette generator →

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