#2F2E27#2F2E27

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

Color values

HEX#2F2E27
RGBrgb(47, 46, 39)
HSLhsl(53, 9%, 17%)
HSVhsv(53, 17%, 18%)
CMYKcmyk(0%, 2.1%, 17%, 81.6%)
CIE-LABlab(18.82, -1.08, 4.68)
CIE-LCHlch(18.82, 4.80, 103.05°)
OKLaboklab(29.98% -0.0022 0.0121)
OKLCHoklch(29.98% 0.012 100.4)
XYZxyz(2.5155, 2.7048, 2.3086)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E27 #27282F
analogous
#2F2A27 #2F2E27 #2C2F27
triadic
#2F2E27 #272F2E #2E272F
tetradic
#2F2E27 #272F2A #27282F #2F272C
square
#2F2E27 #272F2A #27282F #2F272C
split-complementary
#2F2E27 #272C2F #2A272F
monochromatic
#11100E #11100E #2F2E27 #504F43 #726F5F

Accessibility & contrast

On white

13.63
#2F2E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E27
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E27#FFFFFF#000000##FFFFFF
##2F2E271.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2e27;
/* rgb */ color: rgb(47, 46, 39);
/* oklch */ color: oklch(30.0% 0.012 100.4);
Tailwind
colors: {
  custom: {
    50: '#676661',
    500: '#2f2e27',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e27;
$custom-light: #676661;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e27",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 52.5,
    "s": 9.302,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2998,
    "c": 0.01232,
    "h": 100.4
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#2F2E27
secondary
#53555F
accent
#7DB276
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2F2E27

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

Preview Lab → · Contrast checker → · Palette generator →

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