#2F2C11#2F2C11

#2F2C11 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.9% C 0.043 H 103.0°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#2F2C11
RGBrgb(47, 44, 17)
HSLhsl(54, 47%, 13%)
HSVhsv(54, 64%, 18%)
CMYKcmyk(0%, 6.4%, 63.8%, 81.6%)
CIE-LABlab(17.67, -3.21, 17.77)
CIE-LCHlch(17.67, 18.06, 100.24°)
OKLaboklab(28.92% -0.0096 0.0419)
OKLCHoklch(28.92% 0.043 103)
XYZxyz(2.1742, 2.4462, 0.8878)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C11 #11142F
analogous
#2F1D11 #2F2C11 #232F11
triadic
#2F2C11 #112F2C #2C112F
tetradic
#2F2C11 #112F1D #11142F #2F1123
square
#2F2C11 #112F1D #11142F #2F1123
split-complementary
#2F2C11 #11232F #1D112F
monochromatic
#161508 #161508 #2F2C11 #5C5621 #898032

Accessibility & contrast

On white

14.10
#2F2C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2F2C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C11
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C11#FFFFFF#000000##FFFFFF
##2F2C111.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0E
Deuteranopia (green-blind)
#312C12
Tritanopia (blue-blind)
#332926
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2c11;
/* rgb */ color: rgb(47, 44, 17);
/* oklch */ color: oklch(28.9% 0.043 103.0);
Tailwind
colors: {
  custom: {
    50: '#686450',
    500: '#2f2c11',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c11;
$custom-light: #686450;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c11",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 17
  },
  "hsl": {
    "h": 54,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28918,
    "c": 0.04298,
    "h": 103
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#2F2C11
secondary
#343967
accent
#5FD751
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #2F2C11

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

Preview Lab → · Contrast checker → · Palette generator →

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