#2E290F#2E290F

#2E290F is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.042 H 98.6°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#2E290F
RGBrgb(46, 41, 15)
HSLhsl(50, 51%, 12%)
HSVhsv(50, 67%, 18%)
CMYKcmyk(0%, 10.9%, 67.4%, 82%)
CIE-LABlab(16.51, -1.96, 17.44)
CIE-LCHlch(16.51, 17.55, 96.40°)
OKLaboklab(27.96% -0.0062 0.0413)
OKLCHoklch(27.96% 0.042 98.6)
XYZxyz(2.0059, 2.2013, 0.7711)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E290F #0F142E
analogous
#2E1A0F #2E290F #242E0F
triadic
#2E290F #0F2E29 #290F2E
tetradic
#2E290F #0F2E1A #0F142E #2E0F24
square
#2E290F #0F2E1A #0F142E #2E0F24
split-complementary
#2E290F #0F242E #1A0F2E
monochromatic
#171508 #171508 #2E290F #5C521E #8A7B2D

Accessibility & contrast

On white

14.58
#2E290F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2E290F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E290F
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E290F#FFFFFF#000000##FFFFFF
##2E290F1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280D
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#322623
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e290f;
/* rgb */ color: rgb(46, 41, 15);
/* oklch */ color: oklch(28.0% 0.042 98.6);
Tailwind
colors: {
  custom: {
    50: '#68624e',
    500: '#2e290f',
    950: '#000000',
  },
}
SCSS
$custom: #2e290f;
$custom-light: #68624e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e290f",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 15
  },
  "hsl": {
    "h": 50.323,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27959,
    "c": 0.04177,
    "h": 98.6
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#2E290F
secondary
#313A68
accent
#64DA4D
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E290F

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

Preview Lab → · Contrast checker → · Palette generator →

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