#2F2E22#2F2E22

#2F2E22 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.021 H 103.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#2F2E22
RGBrgb(47, 46, 34)
HSLhsl(55, 16%, 16%)
HSVhsv(55, 28%, 18%)
CMYKcmyk(0%, 2.1%, 27.7%, 81.6%)
CIE-LABlab(18.69, -2.06, 7.92)
CIE-LCHlch(18.69, 8.19, 104.55°)
OKLaboklab(29.83% -0.0049 0.0202)
OKLCHoklch(29.83% 0.021 103.6)
XYZxyz(2.4380, 2.6739, 1.9007)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E22 #22232F
analogous
#2F2722 #2F2E22 #292F22
triadic
#2F2E22 #222F2E #2E222F
tetradic
#2F2E22 #222F27 #22232F #2F2229
square
#2F2E22 #222F27 #22232F #2F2229
split-complementary
#2F2E22 #22292F #27222F
monochromatic
#12110D #12110D #2F2E22 #53513C #767455

Accessibility & contrast

On white

13.68
#2F2E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E22
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E22#FFFFFF#000000##FFFFFF
##2F2E221.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D21
Deuteranopia (green-blind)
#312E22
Tritanopia (blue-blind)
#312C2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2e22;
/* rgb */ color: rgb(47, 46, 34);
/* oklch */ color: oklch(29.8% 0.021 103.6);
Tailwind
colors: {
  custom: {
    50: '#67665d',
    500: '#2f2e22',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e22;
$custom-light: #67665d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e22",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 34
  },
  "hsl": {
    "h": 55.385,
    "s": 16.049,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2983,
    "c": 0.02073,
    "h": 103.6
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#2F2E22
secondary
#4D4E60
accent
#75B96F
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #2F2E22

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

Preview Lab → · Contrast checker → · Palette generator →

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