#2D2E22#2D2E22

#2D2E22 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.021 H 111.5°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#2D2E22
RGBrgb(45, 46, 34)
HSLhsl(65, 15%, 16%)
HSVhsv(65, 26%, 18%)
CMYKcmyk(2.2%, 0%, 26.1%, 82%)
CIE-LABlab(18.49, -3.02, 7.61)
CIE-LCHlch(18.49, 8.19, 111.67°)
OKLaboklab(29.62% -0.0076 0.0194)
OKLCHoklch(29.62% 0.021 111.5)
XYZxyz(2.3479, 2.6274, 1.8965)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E22 #23222E
analogous
#2E2922 #2D2E22 #272E22
triadic
#2D2E22 #222D2E #2E222D
tetradic
#2D2E22 #222E29 #23222E #2E2227
square
#2D2E22 #222E29 #23222E #2E2227
split-complementary
#2D2E22 #22272E #29222E
monochromatic
#11120D #11120D #2D2E22 #4F513C #727456

Accessibility & contrast

On white

13.77
#2D2E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2E22
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E22#FFFFFF#000000##FFFFFF
##2D2E221.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D21
Deuteranopia (green-blind)
#302D22
Tritanopia (blue-blind)
#2F2D2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2e22;
/* rgb */ color: rgb(45, 46, 34);
/* oklch */ color: oklch(29.6% 0.021 111.5);
Tailwind
colors: {
  custom: {
    50: '#66665d',
    500: '#2d2e22',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e22;
$custom-light: #66665d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e22",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 34
  },
  "hsl": {
    "h": 65,
    "s": 15,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29621,
    "c": 0.02084,
    "h": 111.5
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#2D2E22
secondary
#4E4D5F
accent
#70B876
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050604
muted
#7A7A79

Preview Lab

Preview with #2D2E22

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

Preview Lab → · Contrast checker → · Palette generator →

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