#2D2E27#2D2E27

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

Color values

HEX#2D2E27
RGBrgb(45, 46, 39)
HSLhsl(69, 8%, 17%)
HSVhsv(69, 15%, 18%)
CMYKcmyk(2.2%, 0%, 15.2%, 82%)
CIE-LABlab(18.62, -2.02, 4.37)
CIE-LCHlch(18.62, 4.81, 114.86°)
OKLaboklab(29.77% -0.005 0.0113)
OKLCHoklch(29.77% 0.012 113.7)
XYZxyz(2.4253, 2.6584, 2.3044)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E27 #28272E
analogous
#2E2C27 #2D2E27 #2A2E27
triadic
#2D2E27 #272D2E #2E272D
tetradic
#2D2E27 #272E2C #28272E #2E272A
square
#2D2E27 #272E2C #28272E #2E272A
split-complementary
#2D2E27 #272A2E #2C272E
monochromatic
#10110E #10110E #2D2E27 #4D4F43 #6E705F

Accessibility & contrast

On white

13.71
#2D2E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2D2E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E27
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E27#FFFFFF#000000##FFFFFF
##2D2E271.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2D27
Deuteranopia (green-blind)
#2F2D27
Tritanopia (blue-blind)
#2E2D2C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2e27;
/* rgb */ color: rgb(45, 46, 39);
/* oklch */ color: oklch(29.8% 0.012 113.7);
Tailwind
colors: {
  custom: {
    50: '#656661',
    500: '#2d2e27',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e27;
$custom-light: #656661;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e27",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 68.571,
    "s": 8.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29772,
    "c": 0.01237,
    "h": 113.7
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#2D2E27
secondary
#55535D
accent
#77B17F
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050605
muted
#7A7A79

Preview Lab

Preview with #2D2E27

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

Preview Lab → · Contrast checker → · Palette generator →

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