#313203#313203

#313203 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.6% C 0.064 H 110.9°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#313203
RGBrgb(49, 50, 3)
HSLhsl(61, 89%, 10%)
HSVhsv(61, 94%, 20%)
CMYKcmyk(2%, 0%, 94%, 80.4%)
CIE-LABlab(19.81, -7.16, 26.62)
CIE-LCHlch(19.81, 27.57, 105.06°)
OKLaboklab(30.62% -0.023 0.0601)
OKLCHoklch(30.62% 0.064 110.9)
XYZxyz(2.4238, 2.9408, 0.5261)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313203 #040332
analogous
#321B03 #313203 #193203
triadic
#313203 #033132 #320331
tetradic
#313203 #03321B #040332 #320319
square
#313203 #03321B #040332 #320319
split-complementary
#313203 #031932 #1B0332
monochromatic
#1C1D02 #1C1D02 #313203 #6A6C06 #A2A50A

Accessibility & contrast

On white

13.22
#313203 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#313203 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313203
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313203#FFFFFF#000000##FFFFFF
##3132031.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#373006
Tritanopia (blue-blind)
#352E29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #313203;
/* rgb */ color: rgb(49, 50, 3);
/* oklch */ color: oklch(30.6% 0.064 110.9);
Tailwind
colors: {
  custom: {
    50: '#6b6949',
    500: '#313203',
    950: '#000000',
  },
}
SCSS
$custom: #313203;
$custom-light: #6b6949;
$custom-dark: #000000;
JSON
{
  "hex": "#313203",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 3
  },
  "hsl": {
    "h": 61.277,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30622,
    "c": 0.06434,
    "h": 110.9
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#313203
secondary
#1D1B75
accent
#29FF2E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313203

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

Preview Lab → · Contrast checker → · Palette generator →

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