#2E280E#2E280E

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

Color values

HEX#2E280E
RGBrgb(46, 40, 14)
HSLhsl(49, 53%, 12%)
HSVhsv(49, 70%, 18%)
CMYKcmyk(0%, 13%, 69.6%, 82%)
CIE-LABlab(16.16, -1.38, 17.51)
CIE-LCHlch(16.16, 17.57, 94.51°)
OKLaboklab(27.68% -0.0047 0.0416)
OKLCHoklch(27.68% 0.042 96.5)
XYZxyz(1.9648, 2.1302, 0.7231)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E280E #0E142E
analogous
#2E180E #2E280E #242E0E
triadic
#2E280E #0E2E28 #280E2E
tetradic
#2E280E #0E2E18 #0E142E #2E0E24
square
#2E280E #0E2E18 #0E142E #2E0E24
split-complementary
#2E280E #0E242E #180E2E
monochromatic
#171407 #171407 #2E280E #5D511C #8C7A2B

Accessibility & contrast

On white

14.73
#2E280E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E280E
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E280E#FFFFFF#000000##FFFFFF
##2E280E1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e280e;
/* rgb */ color: rgb(46, 40, 14);
/* oklch */ color: oklch(27.7% 0.042 96.5);
Tailwind
colors: {
  custom: {
    50: '#68614d',
    500: '#2e280e',
    950: '#000000',
  },
}
SCSS
$custom: #2e280e;
$custom-light: #68614d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e280e",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 14
  },
  "hsl": {
    "h": 48.75,
    "s": 53.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27675,
    "c": 0.04187,
    "h": 96.5
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#2E280E
secondary
#303A68
accent
#66DD4B
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E280E

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

Preview Lab → · Contrast checker → · Palette generator →

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