#2E280A#2E280A

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

Color values

HEX#2E280A
RGBrgb(46, 40, 10)
HSLhsl(50, 64%, 11%)
HSVhsv(50, 78%, 18%)
CMYKcmyk(0%, 13%, 78.3%, 82%)
CIE-LABlab(16.11, -1.74, 19.27)
CIE-LCHlch(16.11, 19.35, 95.15°)
OKLaboklab(27.62% -0.0064 0.0458)
OKLCHoklch(27.62% 0.046 97.9)
XYZxyz(1.9404, 2.1204, 0.5942)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E280A #0A102E
analogous
#2E160A #2E280A #222E0A
triadic
#2E280A #0A2E28 #280A2E
tetradic
#2E280A #0A2E16 #0A102E #2E0A22
square
#2E280A #0A2E16 #0A102E #2E0A22
split-complementary
#2E280A #0A222E #160A2E
monochromatic
#191605 #191605 #2E280A #605415 #937F20

Accessibility & contrast

On white

14.75
#2E280A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E280A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E280A
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E280A#FFFFFF#000000##FFFFFF
##2E280A1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2707
Deuteranopia (green-blind)
#2E290C
Tritanopia (blue-blind)
#322422
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e280a;
/* rgb */ color: rgb(46, 40, 10);
/* oklch */ color: oklch(27.6% 0.046 97.9);
Tailwind
colors: {
  custom: {
    50: '#68614b',
    500: '#2e280a',
    950: '#000000',
  },
}
SCSS
$custom: #2e280a;
$custom-light: #68614b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e280a",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 10
  },
  "hsl": {
    "h": 50,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2762,
    "c": 0.04626,
    "h": 97.9
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#2E280A
secondary
#29346B
accent
#5CE741
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E280A

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

Preview Lab → · Contrast checker → · Palette generator →

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