#2E270B#2E270B

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

Color values

HEX#2E270B
RGBrgb(46, 39, 11)
HSLhsl(48, 61%, 11%)
HSVhsv(48, 76%, 18%)
CMYKcmyk(0%, 15.2%, 76.1%, 82%)
CIE-LABlab(15.78, -0.98, 18.44)
CIE-LCHlch(15.78, 18.47, 93.04°)
OKLaboklab(27.36% -0.004 0.044)
OKLCHoklch(27.36% 0.044 95.3)
XYZxyz(1.9127, 2.0561, 0.6127)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E270B #0B122E
analogous
#2E150B #2E270B #232E0B
triadic
#2E270B #0B2E27 #270B2E
tetradic
#2E270B #0B2E15 #0B122E #2E0B23
square
#2E270B #0B2E15 #0B122E #2E0B23
split-complementary
#2E270B #0B232E #150B2E
monochromatic
#191506 #191506 #2E270B #5F5117 #917B23

Accessibility & contrast

On white

14.88
#2E270B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E270B
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E270B#FFFFFF#000000##FFFFFF
##2E270B1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e270b;
/* rgb */ color: rgb(46, 39, 11);
/* oklch */ color: oklch(27.4% 0.044 95.3);
Tailwind
colors: {
  custom: {
    50: '#68604c',
    500: '#2e270b',
    950: '#000000',
  },
}
SCSS
$custom: #2e270b;
$custom-light: #68604c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e270b",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 11
  },
  "hsl": {
    "h": 48,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27364,
    "c": 0.04423,
    "h": 95.3
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#2E270B
secondary
#2A376A
accent
#64E543
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E270B

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

Preview Lab → · Contrast checker → · Palette generator →

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