#2E301A#2E301A

#2E301A is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.1% C 0.037 H 112.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#2E301A
RGBrgb(46, 48, 26)
HSLhsl(65, 30%, 15%)
HSVhsv(65, 46%, 19%)
CMYKcmyk(4.2%, 0%, 45.8%, 81.2%)
CIE-LABlab(19.10, -5.20, 13.80)
CIE-LCHlch(19.10, 14.75, 110.64°)
OKLaboklab(30.07% -0.0142 0.0338)
OKLCHoklch(30.07% 0.037 112.8)
XYZxyz(2.3701, 2.7694, 1.3868)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E301A #1C1A30
analogous
#30271A #2E301A #23301A
triadic
#2E301A #1A2E30 #301A2E
tetradic
#2E301A #1A3027 #1C1A30 #301A23
square
#2E301A #1A3027 #1C1A30 #301A23
split-complementary
#2E301A #1A2330 #271A30
monochromatic
#13140B #13140B #2E301A #545830 #7A7F45

Accessibility & contrast

On white

13.52
#2E301A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2E301A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E301A
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E301A#FFFFFF#000000##FFFFFF
##2E301A1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E18
Deuteranopia (green-blind)
#332F1B
Tritanopia (blue-blind)
#312E2B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e301a;
/* rgb */ color: rgb(46, 48, 26);
/* oklch */ color: oklch(30.1% 0.037 112.8);
Tailwind
colors: {
  custom: {
    50: '#676856',
    500: '#2e301a',
    950: '#000000',
  },
}
SCSS
$custom: #2e301a;
$custom-light: #676856;
$custom-dark: #000000;
JSON
{
  "hex": "#2e301a",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 26
  },
  "hsl": {
    "h": 65.455,
    "s": 29.73,
    "l": 14.51
  },
  "oklch": {
    "l": 0.30072,
    "c": 0.03665,
    "h": 112.8
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#2E301A
secondary
#454264
accent
#62C66B
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2E301A

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

Preview Lab → · Contrast checker → · Palette generator →

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