#2E310D#2E310D

#2E310D is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.1% C 0.055 H 113.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#2E310D
RGBrgb(46, 49, 13)
HSLhsl(65, 58%, 12%)
HSVhsv(65, 73%, 19%)
CMYKcmyk(6.1%, 0%, 73.5%, 80.8%)
CIE-LABlab(19.25, -7.38, 21.73)
CIE-LCHlch(19.25, 22.95, 108.75°)
OKLaboklab(30.14% -0.0219 0.05)
OKLCHoklch(30.14% 0.055 113.7)
XYZxyz(2.2977, 2.8066, 0.8014)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E310D #100D31
analogous
#31220D #2E310D #1C310D
triadic
#2E310D #0D2E31 #310D2E
tetradic
#2E310D #0D3122 #100D31 #310D1C
square
#2E310D #0D3122 #100D31 #310D1C
split-complementary
#2E310D #0D1C31 #220D31
monochromatic
#171806 #171806 #2E310D #5B611A #899227

Accessibility & contrast

On white

13.45
#2E310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2E310D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E310D
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E310D#FFFFFF#000000##FFFFFF
##2E310D1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E09
Deuteranopia (green-blind)
#352F0F
Tritanopia (blue-blind)
#312E29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e310d;
/* rgb */ color: rgb(46, 49, 13);
/* oklch */ color: oklch(30.1% 0.055 113.7);
Tailwind
colors: {
  custom: {
    50: '#68684d',
    500: '#2e310d',
    950: '#000000',
  },
}
SCSS
$custom: #2e310d;
$custom-light: #68684d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e310d",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 65,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30135,
    "c": 0.05463,
    "h": 113.7
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#2E310D
secondary
#332E6C
accent
#47E153
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E310D

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

Preview Lab → · Contrast checker → · Palette generator →

#2E310D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva