#2E280B#2E280B

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

Color values

HEX#2E280B
RGBrgb(46, 40, 11)
HSLhsl(50, 61%, 11%)
HSVhsv(50, 76%, 18%)
CMYKcmyk(0%, 13%, 76.1%, 82%)
CIE-LABlab(16.12, -1.66, 18.87)
CIE-LCHlch(16.12, 18.94, 95.02°)
OKLaboklab(27.63% -0.006 0.0448)
OKLCHoklch(27.63% 0.045 97.6)
XYZxyz(1.9460, 2.1227, 0.6238)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E280B #0B112E
analogous
#2E160B #2E280B #222E0B
triadic
#2E280B #0B2E28 #280B2E
tetradic
#2E280B #0B2E16 #0B112E #2E0B22
square
#2E280B #0B2E16 #0B112E #2E0B22
split-complementary
#2E280B #0B222E #160B2E
monochromatic
#191506 #191506 #2E280B #5F5317 #917E23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E280B#FFFFFF#000000##FFFFFF
##2E280B1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e280b;
/* rgb */ color: rgb(46, 40, 11);
/* oklch */ color: oklch(27.6% 0.045 97.6);
Tailwind
colors: {
  custom: {
    50: '#68614c',
    500: '#2e280b',
    950: '#000000',
  },
}
SCSS
$custom: #2e280b;
$custom-light: #68614c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e280b",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 11
  },
  "hsl": {
    "h": 49.714,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27633,
    "c": 0.04523,
    "h": 97.6
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#2E280B
secondary
#2A356A
accent
#5FE543
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E280B

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

Preview Lab → · Contrast checker → · Palette generator →

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