#313905#313905

#313905 is a dark, moderate yellow. Relative luminance 0.036; OKLCH L 32.6% C 0.072 H 118.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#313905
RGBrgb(49, 57, 5)
HSLhsl(69, 84%, 12%)
HSVhsv(69, 91%, 22%)
CMYKcmyk(14%, 0%, 91.2%, 77.6%)
CIE-LABlab(22.27, -11.31, 28.50)
CIE-LCHlch(22.27, 30.67, 111.65°)
OKLaboklab(32.6% -0.0341 0.063)
OKLCHoklch(32.6% 0.072 118.4)
XYZxyz(2.7572, 3.5902, 0.6913)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313905 #0D0539
analogous
#392705 #313905 #173905
triadic
#313905 #053139 #390531
tetradic
#313905 #053927 #0D0539 #390517
square
#313905 #053927 #0D0539 #390517
split-complementary
#313905 #051739 #270539
monochromatic
#181C02 #181C02 #313905 #61710A #92AA0F

Accessibility & contrast

On white

12.22
#313905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#313905 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313905
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313905#FFFFFF#000000##FFFFFF
##3139051.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3D3509
Tritanopia (blue-blind)
#35352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #313905;
/* rgb */ color: rgb(49, 57, 5);
/* oklch */ color: oklch(32.6% 0.072 118.4);
Tailwind
colors: {
  custom: {
    50: '#6b6f4a',
    500: '#313905',
    950: '#000000',
  },
}
SCSS
$custom: #313905;
$custom-light: #6b6f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#313905",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 69.231,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32603,
    "c": 0.07167,
    "h": 118.4
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#313905
secondary
#2E207A
accent
#2EFA4D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313905

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

Preview Lab → · Contrast checker → · Palette generator →

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