#2E280F#2E280F

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

Color values

HEX#2E280F
RGBrgb(46, 40, 15)
HSLhsl(48, 51%, 12%)
HSVhsv(48, 67%, 18%)
CMYKcmyk(0%, 13%, 67.4%, 82%)
CIE-LABlab(16.17, -1.28, 17.01)
CIE-LCHlch(16.17, 17.06, 94.30°)
OKLaboklab(27.69% -0.0043 0.0404)
OKLCHoklch(27.69% 0.041 96.1)
XYZxyz(1.9718, 2.1330, 0.7597)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E280F #0F152E
analogous
#2E190F #2E280F #252E0F
triadic
#2E280F #0F2E28 #280F2E
tetradic
#2E280F #0F2E19 #0F152E #2E0F25
square
#2E280F #0F2E19 #0F152E #2E0F25
split-complementary
#2E280F #0F252E #190F2E
monochromatic
#171408 #171408 #2E280F #5C501E #8A782D

Accessibility & contrast

On white

14.72
#2E280F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E280F
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E280F#FFFFFF#000000##FFFFFF
##2E280F1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e280f;
/* rgb */ color: rgb(46, 40, 15);
/* oklch */ color: oklch(27.7% 0.041 96.1);
Tailwind
colors: {
  custom: {
    50: '#68614e',
    500: '#2e280f',
    950: '#000000',
  },
}
SCSS
$custom: #2e280f;
$custom-light: #68614e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e280f",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 48.387,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2769,
    "c": 0.04067,
    "h": 96.1
  },
  "luminance": 0.02133
}

Semantic roles & 50–950 ramp

primary
#2E280F
secondary
#313C68
accent
#69DA4D
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E280F

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

Preview Lab → · Contrast checker → · Palette generator →

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