#2E310F#2E310F

#2E310F is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.052 H 113.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#2E310F
RGBrgb(46, 49, 15)
HSLhsl(65, 53%, 13%)
HSVhsv(65, 69%, 19%)
CMYKcmyk(6.1%, 0%, 69.4%, 80.8%)
CIE-LABlab(19.27, -7.19, 20.75)
CIE-LCHlch(19.27, 21.96, 109.11°)
OKLaboklab(30.16% -0.0212 0.0481)
OKLCHoklch(30.16% 0.053 113.8)
XYZxyz(2.3113, 2.8120, 0.8729)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E310F #120F31
analogous
#31230F #2E310F #1D310F
triadic
#2E310F #0F2E31 #310F2E
tetradic
#2E310F #0F3123 #120F31 #310F1D
square
#2E310F #0F3123 #120F31 #310F1D
split-complementary
#2E310F #0F1D31 #230F31
monochromatic
#161707 #161707 #2E310F #5A601D #868F2C

Accessibility & contrast

On white

13.44
#2E310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E310F
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E310F#FFFFFF#000000##FFFFFF
##2E310F1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E0B
Deuteranopia (green-blind)
#352F11
Tritanopia (blue-blind)
#312E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e310f;
/* rgb */ color: rgb(46, 49, 15);
/* oklch */ color: oklch(30.2% 0.052 113.8);
Tailwind
colors: {
  custom: {
    50: '#68684f',
    500: '#2e310f',
    950: '#000000',
  },
}
SCSS
$custom: #2e310f;
$custom-light: #68684f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e310f",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 65.294,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30161,
    "c": 0.0525,
    "h": 113.8
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#2E310F
secondary
#36316B
accent
#4BDD58
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E310F

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

Preview Lab → · Contrast checker → · Palette generator →

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