#2E310E#2E310E

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

Color values

HEX#2E310E
RGBrgb(46, 49, 14)
HSLhsl(65, 56%, 12%)
HSVhsv(65, 71%, 19%)
CMYKcmyk(6.1%, 0%, 71.4%, 80.8%)
CIE-LABlab(19.26, -7.28, 21.25)
CIE-LCHlch(19.26, 22.47, 108.92°)
OKLaboklab(30.15% -0.0216 0.0491)
OKLCHoklch(30.15% 0.054 113.7)
XYZxyz(2.3043, 2.8092, 0.8362)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E310E #110E31
analogous
#31230E #2E310E #1D310E
triadic
#2E310E #0E2E31 #310E2E
tetradic
#2E310E #0E3123 #110E31 #310E1D
square
#2E310E #0E3123 #110E31 #310E1D
split-complementary
#2E310E #0E1D31 #230E31
monochromatic
#161807 #161807 #2E310E #5B611C #879029

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E310E#FFFFFF#000000##FFFFFF
##2E310E1.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)
#352E0A
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#312E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e310e;
/* rgb */ color: rgb(46, 49, 14);
/* oklch */ color: oklch(30.1% 0.054 113.7);
Tailwind
colors: {
  custom: {
    50: '#68684e',
    500: '#2e310e',
    950: '#000000',
  },
}
SCSS
$custom: #2e310e;
$custom-light: #68684e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e310e",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 65.143,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30148,
    "c": 0.05359,
    "h": 113.7
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#2E310E
secondary
#342F6C
accent
#49DF56
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E310E

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

Preview Lab → · Contrast checker → · Palette generator →

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