#2E280C#2E280C

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

Color values

HEX#2E280C
RGBrgb(46, 40, 12)
HSLhsl(49, 59%, 11%)
HSVhsv(49, 74%, 18%)
CMYKcmyk(0%, 13%, 73.9%, 82%)
CIE-LABlab(16.13, -1.57, 18.44)
CIE-LCHlch(16.13, 18.51, 94.87°)
OKLaboklab(27.65% -0.0056 0.0438)
OKLCHoklch(27.65% 0.044 97.3)
XYZxyz(1.9519, 2.1251, 0.6551)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E280C #0C122E
analogous
#2E170C #2E280C #232E0C
triadic
#2E280C #0C2E28 #280C2E
tetradic
#2E280C #0C2E17 #0C122E #2E0C23
square
#2E280C #0C2E17 #0C122E #2E0C23
split-complementary
#2E280C #0C232E #170C2E
monochromatic
#181506 #181506 #2E280C #5F5219 #8F7C25

Accessibility & contrast

On white

14.74
#2E280C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2E280C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E280C
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E280C#FFFFFF#000000##FFFFFF
##2E280C1.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2709
Deuteranopia (green-blind)
#2E290D
Tritanopia (blue-blind)
#322522
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e280c;
/* rgb */ color: rgb(46, 40, 12);
/* oklch */ color: oklch(27.6% 0.044 97.3);
Tailwind
colors: {
  custom: {
    50: '#68614c',
    500: '#2e280c',
    950: '#000000',
  },
}
SCSS
$custom: #2e280c;
$custom-light: #68614c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e280c",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 49.412,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27646,
    "c": 0.04415,
    "h": 97.3
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#2E280C
secondary
#2C376A
accent
#61E246
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E280C

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

Preview Lab → · Contrast checker → · Palette generator →

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