#2F2B11#2F2B11

#2F2B11 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.042 H 100.7°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#2F2B11
RGBrgb(47, 43, 17)
HSLhsl(52, 47%, 13%)
HSVhsv(52, 64%, 18%)
CMYKcmyk(0%, 8.5%, 63.8%, 81.6%)
CIE-LABlab(17.33, -2.54, 17.36)
CIE-LCHlch(17.33, 17.54, 98.34°)
OKLaboklab(28.65% -0.0077 0.041)
OKLCHoklch(28.65% 0.042 100.7)
XYZxyz(2.1374, 2.3726, 0.8756)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B11 #11152F
analogous
#2F1C11 #2F2B11 #242F11
triadic
#2F2B11 #112F2B #2B112F
tetradic
#2F2B11 #112F1C #11152F #2F1124
square
#2F2B11 #112F1C #11152F #2F1124
split-complementary
#2F2B11 #11242F #1C112F
monochromatic
#161508 #161508 #2F2B11 #5C5421 #897D32

Accessibility & contrast

On white

14.24
#2F2B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F2B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B11
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B11#FFFFFF#000000##FFFFFF
##2F2B111.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A0F
Deuteranopia (green-blind)
#302B12
Tritanopia (blue-blind)
#332825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2b11;
/* rgb */ color: rgb(47, 43, 17);
/* oklch */ color: oklch(28.6% 0.042 100.7);
Tailwind
colors: {
  custom: {
    50: '#68644f',
    500: '#2f2b11',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b11;
$custom-light: #68644f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b11",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 17
  },
  "hsl": {
    "h": 52,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28647,
    "c": 0.04173,
    "h": 100.7
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#2F2B11
secondary
#343B67
accent
#63D751
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2F2B11

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

Preview Lab → · Contrast checker → · Palette generator →

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