#2D2F22#2D2F22

#2D2F22 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.9% C 0.023 H 114.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#2D2F22
RGBrgb(45, 47, 34)
HSLhsl(69, 16%, 16%)
HSVhsv(69, 28%, 18%)
CMYKcmyk(4.3%, 0%, 27.7%, 81.6%)
CIE-LABlab(18.83, -3.69, 8.08)
CIE-LCHlch(18.83, 8.89, 114.52°)
OKLaboklab(29.89% -0.0095 0.0205)
OKLCHoklch(29.89% 0.023 114.9)
XYZxyz(2.3874, 2.7064, 1.9097)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F22 #24222F
analogous
#2F2A22 #2D2F22 #262F22
triadic
#2D2F22 #222D2F #2F222D
tetradic
#2D2F22 #222F2A #24222F #2F2226
square
#2D2F22 #222F2A #24222F #2F2226
split-complementary
#2D2F22 #22262F #2A222F
monochromatic
#11120D #11120D #2D2F22 #4F533C #717655

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2F22#FFFFFF#000000##FFFFFF
##2D2F221.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)
#312E21
Deuteranopia (green-blind)
#312E23
Tritanopia (blue-blind)
#2F2D2B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d2f22;
/* rgb */ color: rgb(45, 47, 34);
/* oklch */ color: oklch(29.9% 0.023 114.9);
Tailwind
colors: {
  custom: {
    50: '#66675d',
    500: '#2d2f22',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f22;
$custom-light: #66675d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f22",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 69.231,
    "s": 16.049,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29892,
    "c": 0.02264,
    "h": 114.9
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#2D2F22
secondary
#504D60
accent
#6FB97A
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050604
muted
#7A7A79

Preview Lab

Preview with #2D2F22

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

Preview Lab → · Contrast checker → · Palette generator →

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