#2E310C#2E310C

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

Color values

HEX#2E310C
RGBrgb(46, 49, 12)
HSLhsl(65, 61%, 12%)
HSVhsv(65, 76%, 19%)
CMYKcmyk(6.1%, 0%, 75.5%, 80.8%)
CIE-LABlab(19.24, -7.46, 22.19)
CIE-LCHlch(19.24, 23.41, 108.59°)
OKLaboklab(30.12% -0.0223 0.051)
OKLCHoklch(30.12% 0.056 113.7)
XYZxyz(2.2914, 2.8041, 0.7683)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E310C #0F0C31
analogous
#31220C #2E310C #1C310C
triadic
#2E310C #0C2E31 #310C2E
tetradic
#2E310C #0C3122 #0F0C31 #310C1C
square
#2E310C #0C3122 #0F0C31 #310C1C
split-complementary
#2E310C #0C1C31 #220C31
monochromatic
#171906 #171906 #2E310C #5C6218 #8A9324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E310C#FFFFFF#000000##FFFFFF
##2E310C1.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)
#352E08
Deuteranopia (green-blind)
#352F0E
Tritanopia (blue-blind)
#312E29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e310c;
/* rgb */ color: rgb(46, 49, 12);
/* oklch */ color: oklch(30.1% 0.056 113.7);
Tailwind
colors: {
  custom: {
    50: '#68684d',
    500: '#2e310c',
    950: '#000000',
  },
}
SCSS
$custom: #2e310c;
$custom-light: #68684d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e310c",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 64.865,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30123,
    "c": 0.05565,
    "h": 113.7
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#2E310C
secondary
#312C6D
accent
#44E451
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E310C

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

Preview Lab → · Contrast checker → · Palette generator →

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