#312705#312705

#312705 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.7% C 0.051 H 92.1°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#312705
RGBrgb(49, 39, 5)
HSLhsl(46, 81%, 11%)
HSVhsv(46, 90%, 19%)
CMYKcmyk(0%, 20.4%, 89.8%, 80.8%)
CIE-LABlab(16.08, 0.21, 21.35)
CIE-LCHlch(16.08, 21.35, 89.43°)
OKLaboklab(27.67% -0.0019 0.051)
OKLCHoklch(27.67% 0.051 92.1)
XYZxyz(2.0196, 2.1151, 0.4454)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312705 #050F31
analogous
#311105 #312705 #253105
triadic
#312705 #053127 #270531
tetradic
#312705 #053111 #050F31 #310525
square
#312705 #053111 #050F31 #310525
split-complementary
#312705 #052531 #110531
monochromatic
#1C1603 #1C1603 #312705 #69530B #A07F10

Accessibility & contrast

On white

14.76
#312705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#312705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312705
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312705#FFFFFF#000000##FFFFFF
##3127051.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2602
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#362320
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #312705;
/* rgb */ color: rgb(49, 39, 5);
/* oklch */ color: oklch(27.7% 0.051 92.1);
Tailwind
colors: {
  custom: {
    50: '#6b6049',
    500: '#312705',
    950: '#000000',
  },
}
SCSS
$custom: #312705;
$custom-light: #6b6049;
$custom-dark: #000000;
JSON
{
  "hex": "#312705",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 5
  },
  "hsl": {
    "h": 46.364,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27666,
    "c": 0.05107,
    "h": 92.1
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#312705
secondary
#1F3272
accent
#5DF830
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #312705

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

Preview Lab → · Contrast checker → · Palette generator →

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