#2F2706#2F2706

#2F2706 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.050 H 95.2°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#2F2706
RGBrgb(47, 39, 6)
HSLhsl(48, 77%, 10%)
HSVhsv(48, 87%, 18%)
CMYKcmyk(0%, 17%, 87.2%, 81.6%)
CIE-LABlab(15.84, -0.83, 20.60)
CIE-LCHlch(15.84, 20.61, 92.30°)
OKLaboklab(27.43% -0.0045 0.0494)
OKLCHoklch(27.43% 0.05 95.2)
XYZxyz(1.9308, 2.0686, 0.4698)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2706 #060E2F
analogous
#2F1206 #2F2706 #222F06
triadic
#2F2706 #062F27 #27062F
tetradic
#2F2706 #062F12 #060E2F #2F0622
square
#2F2706 #062F12 #060E2F #2F0622
split-complementary
#2F2706 #06222F #12062F
monochromatic
#1B1703 #1B1703 #2F2706 #65540D #9C8114

Accessibility & contrast

On white

14.85
#2F2706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2F2706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2706
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2706#FFFFFF#000000##FFFFFF
##2F27061.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#2E2808
Tritanopia (blue-blind)
#342320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2706;
/* rgb */ color: rgb(47, 39, 6);
/* oklch */ color: oklch(27.4% 0.050 95.2);
Tailwind
colors: {
  custom: {
    50: '#696049',
    500: '#2f2706',
    950: '#000000',
  },
}
SCSS
$custom: #2f2706;
$custom-light: #696049;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2706",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 6
  },
  "hsl": {
    "h": 48.293,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27425,
    "c": 0.04962,
    "h": 95.2
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#2F2706
secondary
#213070
accent
#59F434
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2706

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

Preview Lab → · Contrast checker → · Palette generator →

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