#2F2D22#2F2D22

#2F2D22 is a dark, near-neutral yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.019 H 98.9°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#2F2D22
RGBrgb(47, 45, 34)
HSLhsl(51, 16%, 16%)
HSVhsv(51, 28%, 18%)
CMYKcmyk(0%, 4.3%, 27.7%, 81.6%)
CIE-LABlab(18.35, -1.38, 7.46)
CIE-LCHlch(18.35, 7.59, 100.52°)
OKLaboklab(29.56% -0.003 0.019)
OKLCHoklch(29.56% 0.019 98.9)
XYZxyz(2.3994, 2.5966, 1.8879)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D22 #22242F
analogous
#2F2622 #2F2D22 #2A2F22
triadic
#2F2D22 #222F2D #2D222F
tetradic
#2F2D22 #222F26 #22242F #2F222A
square
#2F2D22 #222F26 #22242F #2F222A
split-complementary
#2F2D22 #222A2F #26222F
monochromatic
#12110D #12110D #2F2D22 #534F3C #767155

Accessibility & contrast

On white

13.82
#2F2D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2F2D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D22
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D22#FFFFFF#000000##FFFFFF
##2F2D221.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2C21
Deuteranopia (green-blind)
#302D22
Tritanopia (blue-blind)
#312B2A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2d22;
/* rgb */ color: rgb(47, 45, 34);
/* oklch */ color: oklch(29.6% 0.019 98.9);
Tailwind
colors: {
  custom: {
    50: '#67655d',
    500: '#2f2d22',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d22;
$custom-light: #67655d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d22",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 34
  },
  "hsl": {
    "h": 50.769,
    "s": 16.049,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29564,
    "c": 0.01924,
    "h": 98.9
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#2F2D22
secondary
#4D5060
accent
#7AB96F
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060504
muted
#7A7A79

Preview Lab

Preview with #2F2D22

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

Preview Lab → · Contrast checker → · Palette generator →

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