#313306#313306

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

Color values

HEX#313306
RGBrgb(49, 51, 6)
HSLhsl(63, 79%, 11%)
HSVhsv(63, 88%, 20%)
CMYKcmyk(3.9%, 0%, 88.2%, 80%)
CIE-LABlab(20.18, -7.58, 25.82)
CIE-LCHlch(20.18, 26.91, 106.35°)
OKLaboklab(30.93% -0.0237 0.0582)
OKLCHoklch(30.93% 0.063 112.1)
XYZxyz(2.4834, 3.0338, 0.6270)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313306 #080633
analogous
#331E06 #313306 #1A3306
triadic
#313306 #063133 #330631
tetradic
#313306 #06331E #080633 #33061A
square
#313306 #06331E #080633 #33061A
split-complementary
#313306 #061A33 #1E0633
monochromatic
#1A1B03 #1A1B03 #313306 #666A0C #9AA113

Accessibility & contrast

On white

13.07
#313306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313306
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313306#FFFFFF#000000##FFFFFF
##3133061.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313306;
/* rgb */ color: rgb(49, 51, 6);
/* oklch */ color: oklch(30.9% 0.063 112.1);
Tailwind
colors: {
  custom: {
    50: '#6b6a4a',
    500: '#313306',
    950: '#000000',
  },
}
SCSS
$custom: #313306;
$custom-light: #6b6a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#313306",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 62.667,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30929,
    "c": 0.06283,
    "h": 112.1
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#313306
secondary
#252174
accent
#32F53B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313306

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

Preview Lab → · Contrast checker → · Palette generator →

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