#312E11#312E11

#312E11 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.7% C 0.045 H 103.4°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#312E11
RGBrgb(49, 46, 17)
HSLhsl(54, 48%, 13%)
HSVhsv(54, 65%, 19%)
CMYKcmyk(0%, 6.1%, 65.3%, 80.8%)
CIE-LABlab(18.57, -3.46, 18.90)
CIE-LCHlch(18.57, 19.21, 100.39°)
OKLaboklab(29.69% -0.0105 0.0442)
OKLCHoklch(29.69% 0.045 103.4)
XYZxyz(2.3449, 2.6475, 0.9177)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312E11 #111431
analogous
#311E11 #312E11 #243111
triadic
#312E11 #11312E #2E1131
tetradic
#312E11 #11311E #111431 #311124
square
#312E11 #11311E #111431 #311124
split-complementary
#312E11 #112431 #1E1131
monochromatic
#171508 #171508 #312E11 #5E5921 #8C8331

Accessibility & contrast

On white

13.73
#312E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#312E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312E11
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312E11#FFFFFF#000000##FFFFFF
##312E111.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0E
Deuteranopia (green-blind)
#332E12
Tritanopia (blue-blind)
#352B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #312e11;
/* rgb */ color: rgb(49, 46, 17);
/* oklch */ color: oklch(29.7% 0.045 103.4);
Tailwind
colors: {
  custom: {
    50: '#6a6650',
    500: '#312e11',
    950: '#000000',
  },
}
SCSS
$custom: #312e11;
$custom-light: #6a6650;
$custom-dark: #000000;
JSON
{
  "hex": "#312e11",
  "rgb": {
    "r": 49,
    "g": 46,
    "b": 17
  },
  "hsl": {
    "h": 54.375,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29685,
    "c": 0.04547,
    "h": 103.4
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#312E11
secondary
#34396A
accent
#5DD850
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #312E11

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

Preview Lab → · Contrast checker → · Palette generator →

#312E11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva