#2E310A#2E310A

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

Color values

HEX#2E310A
RGBrgb(46, 49, 10)
HSLhsl(65, 66%, 12%)
HSVhsv(65, 80%, 19%)
CMYKcmyk(6.1%, 0%, 79.6%, 80.8%)
CIE-LABlab(19.22, -7.62, 23.02)
CIE-LCHlch(19.22, 24.25, 108.31°)
OKLaboklab(30.1% -0.023 0.0527)
OKLCHoklch(30.1% 0.058 113.6)
XYZxyz(2.2799, 2.7994, 0.7073)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E310A #0D0A31
analogous
#31210A #2E310A #1B310A
triadic
#2E310A #0A2E31 #310A2E
tetradic
#2E310A #0A3121 #0D0A31 #310A1B
square
#2E310A #0A3121 #0D0A31 #310A1B
split-complementary
#2E310A #0A1B31 #210A31
monochromatic
#181905 #181905 #2E310A #5E6414 #8D971F

Accessibility & contrast

On white

13.46
#2E310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E310A
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E310A#FFFFFF#000000##FFFFFF
##2E310A1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E05
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#322E29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e310a;
/* rgb */ color: rgb(46, 49, 10);
/* oklch */ color: oklch(30.1% 0.058 113.6);
Tailwind
colors: {
  custom: {
    50: '#68684c',
    500: '#2e310a',
    950: '#000000',
  },
}
SCSS
$custom: #2e310a;
$custom-light: #68684c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e310a",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 64.615,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30102,
    "c": 0.05753,
    "h": 113.6
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#2E310A
secondary
#2E296E
accent
#3FE94C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E310A

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

Preview Lab → · Contrast checker → · Palette generator →

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