#2E301C#2E301C

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

Color values

HEX#2E301C
RGBrgb(46, 48, 28)
HSLhsl(66, 26%, 15%)
HSVhsv(66, 42%, 19%)
CMYKcmyk(4.2%, 0%, 41.7%, 81.2%)
CIE-LABlab(19.13, -4.89, 12.54)
CIE-LCHlch(19.13, 13.46, 111.30°)
OKLaboklab(30.12% -0.0132 0.031)
OKLCHoklch(30.12% 0.034 113.1)
XYZxyz(2.3933, 2.7786, 1.5086)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E301C #1E1C30
analogous
#30281C #2E301C #24301C
triadic
#2E301C #1C2E30 #301C2E
tetradic
#2E301C #1C3028 #1E1C30 #301C24
square
#2E301C #1C3028 #1E1C30 #301C24
split-complementary
#2E301C #1C2430 #281C30
monochromatic
#13130B #13130B #2E301C #535733 #787D49

Accessibility & contrast

On white

13.50
#2E301C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2E301C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E301C
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E301C#FFFFFF#000000##FFFFFF
##2E301C1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E1B
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#302E2B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e301c;
/* rgb */ color: rgb(46, 48, 28);
/* oklch */ color: oklch(30.1% 0.034 113.1);
Tailwind
colors: {
  custom: {
    50: '#676858',
    500: '#2e301c',
    950: '#000000',
  },
}
SCSS
$custom: #2e301c;
$custom-light: #676858;
$custom-dark: #000000;
JSON
{
  "hex": "#2e301c",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 66,
    "s": 26.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.30116,
    "c": 0.03367,
    "h": 113.1
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#2E301C
secondary
#484463
accent
#65C36E
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2E301C

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

Preview Lab → · Contrast checker → · Palette generator →

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