#312E06#312E06

#312E06 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.057 H 105.0°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#312E06
RGBrgb(49, 46, 6)
HSLhsl(56, 78%, 11%)
HSVhsv(56, 88%, 19%)
CMYKcmyk(0%, 6.1%, 87.8%, 80.8%)
CIE-LABlab(18.45, -4.38, 23.83)
CIE-LCHlch(18.45, 24.23, 100.41°)
OKLaboklab(29.55% -0.0147 0.0548)
OKLCHoklch(29.55% 0.057 105)
XYZxyz(2.2766, 2.6202, 0.5581)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312E06 #060931
analogous
#311806 #312E06 #1E3106
triadic
#312E06 #06312E #2E0631
tetradic
#312E06 #063118 #060931 #31061E
square
#312E06 #063118 #060931 #31061E
split-complementary
#312E06 #061E31 #180631
monochromatic
#1B1A03 #1B1A03 #312E06 #68610D #9E9413

Accessibility & contrast

On white

13.78
#312E06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#312E06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312E06
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312E06#FFFFFF#000000##FFFFFF
##312E061.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C02
Deuteranopia (green-blind)
#342E08
Tritanopia (blue-blind)
#352A26
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #312e06;
/* rgb */ color: rgb(49, 46, 6);
/* oklch */ color: oklch(29.6% 0.057 105.0);
Tailwind
colors: {
  custom: {
    50: '#6b664a',
    500: '#312e06',
    950: '#000000',
  },
}
SCSS
$custom: #312e06;
$custom-light: #6b664a;
$custom-dark: #000000;
JSON
{
  "hex": "#312e06",
  "rgb": {
    "r": 49,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 55.814,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29552,
    "c": 0.05672,
    "h": 105
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#312E06
secondary
#212772
accent
#41F533
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #312E06

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

Preview Lab → · Contrast checker → · Palette generator →

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