#2F2C06#2F2C06

#2F2C06 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.055 H 104.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#2F2C06
RGBrgb(47, 44, 6)
HSLhsl(56, 77%, 10%)
HSVhsv(56, 87%, 18%)
CMYKcmyk(0%, 6.4%, 87.2%, 81.6%)
CIE-LABlab(17.55, -4.17, 22.70)
CIE-LCHlch(17.55, 23.08, 100.41°)
OKLaboklab(28.78% -0.014 0.0529)
OKLCHoklch(28.78% 0.055 104.8)
XYZxyz(2.1059, 2.4189, 0.5282)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C06 #06092F
analogous
#2F1706 #2F2C06 #1D2F06
triadic
#2F2C06 #062F2C #2C062F
tetradic
#2F2C06 #062F17 #06092F #2F061D
square
#2F2C06 #062F17 #06092F #2F061D
split-complementary
#2F2C06 #061D2F #17062F
monochromatic
#1B1903 #1B1903 #2F2C06 #655F0D #9C9214

Accessibility & contrast

On white

14.15
#2F2C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2F2C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C06
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C06#FFFFFF#000000##FFFFFF
##2F2C061.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A02
Deuteranopia (green-blind)
#322C08
Tritanopia (blue-blind)
#332825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2c06;
/* rgb */ color: rgb(47, 44, 6);
/* oklch */ color: oklch(28.8% 0.055 104.8);
Tailwind
colors: {
  custom: {
    50: '#69644a',
    500: '#2f2c06',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c06;
$custom-light: #69644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c06",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 6
  },
  "hsl": {
    "h": 55.61,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28778,
    "c": 0.05471,
    "h": 104.8
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#2F2C06
secondary
#212770
accent
#42F434
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2C06

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

Preview Lab → · Contrast checker → · Palette generator →

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