#313502#313502

#313502 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.4% C 0.069 H 114.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#313502
RGBrgb(49, 53, 2)
HSLhsl(65, 93%, 11%)
HSVhsv(65, 96%, 21%)
CMYKcmyk(7.5%, 0%, 96.2%, 79.2%)
CIE-LABlab(20.84, -9.10, 28.19)
CIE-LCHlch(20.84, 29.62, 107.89°)
OKLaboklab(31.45% -0.0285 0.0628)
OKLCHoklch(31.45% 0.069 114.4)
XYZxyz(2.5508, 3.2036, 0.5414)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313502 #060235
analogous
#351F02 #313502 #173502
triadic
#313502 #023135 #350231
tetradic
#313502 #02351F #060235 #350217
square
#313502 #02351F #060235 #350217
split-complementary
#313502 #021735 #1F0235
monochromatic
#1B1D01 #1B1D01 #313502 #687004 #9EAB06

Accessibility & contrast

On white

12.80
#313502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#313502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313502
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313502#FFFFFF#000000##FFFFFF
##3135021.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#3A3306
Tritanopia (blue-blind)
#35312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #313502;
/* rgb */ color: rgb(49, 53, 2);
/* oklch */ color: oklch(31.4% 0.069 114.4);
Tailwind
colors: {
  custom: {
    50: '#6b6c48',
    500: '#313502',
    950: '#000000',
  },
}
SCSS
$custom: #313502;
$custom-light: #6b6c48;
$custom-dark: #000000;
JSON
{
  "hex": "#313502",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 2
  },
  "hsl": {
    "h": 64.706,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.31449,
    "c": 0.06899,
    "h": 114.4
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#313502
secondary
#211A79
accent
#29FF3A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313502

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

Preview Lab → · Contrast checker → · Palette generator →

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