#2E270D#2E270D

#2E270D is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.042 H 94.4°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#2E270D
RGBrgb(46, 39, 13)
HSLhsl(47, 56%, 12%)
HSVhsv(47, 72%, 18%)
CMYKcmyk(0%, 15.2%, 71.7%, 82%)
CIE-LABlab(15.80, -0.80, 17.56)
CIE-LCHlch(15.80, 17.58, 92.59°)
OKLaboklab(27.39% -0.0032 0.0419)
OKLCHoklch(27.39% 0.042 94.4)
XYZxyz(1.9250, 2.0610, 0.6771)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E270D #0D142E
analogous
#2E170D #2E270D #252E0D
triadic
#2E270D #0D2E27 #270D2E
tetradic
#2E270D #0D2E17 #0D142E #2E0D25
square
#2E270D #0D2E17 #0D142E #2E0D25
split-complementary
#2E270D #0D252E #170D2E
monochromatic
#181407 #181407 #2E270D #5E4F1A #8D7828

Accessibility & contrast

On white

14.87
#2E270D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2E270D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E270D
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E270D#FFFFFF#000000##FFFFFF
##2E270D1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260A
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#322421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e270d;
/* rgb */ color: rgb(46, 39, 13);
/* oklch */ color: oklch(27.4% 0.042 94.4);
Tailwind
colors: {
  custom: {
    50: '#68604d',
    500: '#2e270d',
    950: '#000000',
  },
}
SCSS
$custom: #2e270d;
$custom-light: #68604d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e270d",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 13
  },
  "hsl": {
    "h": 47.273,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27392,
    "c": 0.04201,
    "h": 94.4
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#2E270D
secondary
#2E3A69
accent
#69DF49
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E270D

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

Preview Lab → · Contrast checker → · Palette generator →

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