#312E10#312E10

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

Color values

HEX#312E10
RGBrgb(49, 46, 16)
HSLhsl(55, 51%, 13%)
HSVhsv(55, 67%, 19%)
CMYKcmyk(0%, 6.1%, 67.3%, 80.8%)
CIE-LABlab(18.56, -3.57, 19.45)
CIE-LCHlch(18.56, 19.77, 100.39°)
OKLaboklab(29.67% -0.011 0.0453)
OKLCHoklch(29.67% 0.047 103.6)
XYZxyz(2.3372, 2.6444, 0.8774)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312E10 #101331
analogous
#311D10 #312E10 #233110
triadic
#312E10 #10312E #2E1031
tetradic
#312E10 #10311D #101331 #311023
square
#312E10 #10311D #101331 #311023
split-complementary
#312E10 #102331 #1D1031
monochromatic
#171608 #171608 #312E10 #5F591F #8D852E

Accessibility & contrast

On white

13.74
#312E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #312E10
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312E10#FFFFFF#000000##FFFFFF
##312E101.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #312e10;
/* rgb */ color: rgb(49, 46, 16);
/* oklch */ color: oklch(29.7% 0.047 103.6);
Tailwind
colors: {
  custom: {
    50: '#6a664f',
    500: '#312e10',
    950: '#000000',
  },
}
SCSS
$custom: #312e10;
$custom-light: #6a664f;
$custom-dark: #000000;
JSON
{
  "hex": "#312e10",
  "rgb": {
    "r": 49,
    "g": 46,
    "b": 16
  },
  "hsl": {
    "h": 54.545,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2967,
    "c": 0.04665,
    "h": 103.6
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#312E10
secondary
#33386A
accent
#5ADA4E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #312E10

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

Preview Lab → · Contrast checker → · Palette generator →

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