#2E2F28#2E2F28

#2E2F28 is a dark, near-neutral yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.012 H 113.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#2E2F28
RGBrgb(46, 47, 40)
HSLhsl(69, 8%, 17%)
HSVhsv(69, 15%, 18%)
CMYKcmyk(2.1%, 0%, 14.9%, 81.6%)
CIE-LABlab(19.09, -2.02, 4.35)
CIE-LCHlch(19.09, 4.80, 114.86°)
OKLaboklab(30.17% -0.005 0.0113)
OKLCHoklch(30.17% 0.012 113.8)
XYZxyz(2.5262, 2.7671, 2.4081)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F28 #29282F
analogous
#2F2D28 #2E2F28 #2B2F28
triadic
#2E2F28 #282E2F #2F282E
tetradic
#2E2F28 #282F2D #29282F #2F282B
square
#2E2F28 #282F2D #29282F #2F282B
split-complementary
#2E2F28 #282B2F #2D282F
monochromatic
#10110E #10110E #2E2F28 #4E5044 #6F7160

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2F28#FFFFFF#000000##FFFFFF
##2E2F281.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)
#302E28
Deuteranopia (green-blind)
#302E28
Tritanopia (blue-blind)
#2F2E2D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e2f28;
/* rgb */ color: rgb(46, 47, 40);
/* oklch */ color: oklch(30.2% 0.012 113.8);
Tailwind
colors: {
  custom: {
    50: '#666761',
    500: '#2e2f28',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f28;
$custom-light: #666761;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f28",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 68.571,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.30174,
    "c": 0.01234,
    "h": 113.8
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#2E2F28
secondary
#56545E
accent
#77B17F
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2E2F28

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

Preview Lab → · Contrast checker → · Palette generator →

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