#2F2707#2F2707

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

Color values

HEX#2F2707
RGBrgb(47, 39, 7)
HSLhsl(48, 74%, 11%)
HSVhsv(48, 85%, 18%)
CMYKcmyk(0%, 17%, 85.1%, 81.6%)
CIE-LABlab(15.85, -0.75, 20.20)
CIE-LCHlch(15.85, 20.22, 92.12°)
OKLaboklab(27.44% -0.0041 0.0484)
OKLCHoklch(27.44% 0.049 94.9)
XYZxyz(1.9363, 2.0708, 0.4987)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2707 #070F2F
analogous
#2F1307 #2F2707 #232F07
triadic
#2F2707 #072F27 #27072F
tetradic
#2F2707 #072F13 #070F2F #2F0723
square
#2F2707 #072F13 #070F2F #2F0723
split-complementary
#2F2707 #07232F #13072F
monochromatic
#1B1604 #1B1604 #2F2707 #64530F #9A7F17

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2707#FFFFFF#000000##FFFFFF
##2F27071.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)
#2C2604
Deuteranopia (green-blind)
#2E2909
Tritanopia (blue-blind)
#342320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2707;
/* rgb */ color: rgb(47, 39, 7);
/* oklch */ color: oklch(27.4% 0.049 94.9);
Tailwind
colors: {
  custom: {
    50: '#69604a',
    500: '#2f2707',
    950: '#000000',
  },
}
SCSS
$custom: #2f2707;
$custom-light: #69604a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2707",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 7
  },
  "hsl": {
    "h": 48,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27438,
    "c": 0.04856,
    "h": 94.9
  },
  "luminance": 0.02071
}

Semantic roles & 50–950 ramp

primary
#2F2707
secondary
#23326F
accent
#5CF137
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2707

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

Preview Lab → · Contrast checker → · Palette generator →

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