#2F2D11#2F2D11

#2F2D11 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.044 H 105.1°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#2F2D11
RGBrgb(47, 45, 17)
HSLhsl(56, 47%, 13%)
HSVhsv(56, 64%, 18%)
CMYKcmyk(0%, 4.3%, 63.8%, 81.6%)
CIE-LABlab(18.02, -3.87, 18.18)
CIE-LCHlch(18.02, 18.59, 102.01°)
OKLaboklab(29.19% -0.0115 0.0428)
OKLCHoklch(29.19% 0.044 105.1)
XYZxyz(2.2119, 2.5216, 0.9004)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D11 #11132F
analogous
#2F1E11 #2F2D11 #222F11
triadic
#2F2D11 #112F2D #2D112F
tetradic
#2F2D11 #112F1E #11132F #2F1122
square
#2F2D11 #112F1E #11132F #2F1122
split-complementary
#2F2D11 #11222F #1E112F
monochromatic
#161608 #161608 #2F2D11 #5C5821 #898332

Accessibility & contrast

On white

13.96
#2F2D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2F2D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D11
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D11#FFFFFF#000000##FFFFFF
##2F2D111.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0E
Deuteranopia (green-blind)
#322D12
Tritanopia (blue-blind)
#332A27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2d11;
/* rgb */ color: rgb(47, 45, 17);
/* oklch */ color: oklch(29.2% 0.044 105.1);
Tailwind
colors: {
  custom: {
    50: '#686550',
    500: '#2f2d11',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d11;
$custom-light: #686550;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d11",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 17
  },
  "hsl": {
    "h": 56,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2919,
    "c": 0.04428,
    "h": 105.1
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#2F2D11
secondary
#343867
accent
#5AD751
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #2F2D11

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

Preview Lab → · Contrast checker → · Palette generator →

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