#2F2E28#2F2E28

#2F2E28 is a dark, near-neutral yellow. Relative luminance 0.027; OKLCH L 30.0% C 0.011 H 99.3°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#2F2E28
RGBrgb(47, 46, 40)
HSLhsl(51, 8%, 17%)
HSVhsv(51, 15%, 18%)
CMYKcmyk(0%, 2.1%, 14.9%, 81.6%)
CIE-LABlab(18.85, -0.88, 4.03)
CIE-LCHlch(18.85, 4.13, 102.30°)
OKLaboklab(30.01% -0.0017 0.0105)
OKLCHoklch(30.01% 0.011 99.3)
XYZxyz(2.5323, 2.7116, 2.3971)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E28 #28292F
analogous
#2F2B28 #2F2E28 #2D2F28
triadic
#2F2E28 #282F2E #2E282F
tetradic
#2F2E28 #282F2B #28292F #2F282D
square
#2F2E28 #282F2B #28292F #2F282D
split-complementary
#2F2E28 #282D2F #2B282F
monochromatic
#11100E #11100E #2F2E28 #504E44 #716F60

Accessibility & contrast

On white

13.62
#2F2E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2F2E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E28
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E28#FFFFFF#000000##FFFFFF
##2F2E281.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E28
Deuteranopia (green-blind)
#302E28
Tritanopia (blue-blind)
#302D2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f2e28;
/* rgb */ color: rgb(47, 46, 40);
/* oklch */ color: oklch(30.0% 0.011 99.3);
Tailwind
colors: {
  custom: {
    50: '#676661',
    500: '#2f2e28',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e28;
$custom-light: #676661;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e28",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 51.429,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.30012,
    "c": 0.01062,
    "h": 99.3
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#2F2E28
secondary
#54565E
accent
#7FB177
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2F2E28

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

Preview Lab → · Contrast checker → · Palette generator →

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