#2F2806#2F2806

#2F2806 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.7% C 0.051 H 97.4°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#2F2806
RGBrgb(47, 40, 6)
HSLhsl(50, 77%, 10%)
HSVhsv(50, 87%, 18%)
CMYKcmyk(0%, 14.9%, 87.2%, 81.6%)
CIE-LABlab(16.18, -1.50, 21.02)
CIE-LCHlch(16.18, 21.07, 94.10°)
OKLaboklab(27.69% -0.0065 0.0501)
OKLCHoklch(27.69% 0.051 97.4)
XYZxyz(1.9641, 2.1352, 0.4809)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2806 #060D2F
analogous
#2F1306 #2F2806 #212F06
triadic
#2F2806 #062F28 #28062F
tetradic
#2F2806 #062F13 #060D2F #2F0621
square
#2F2806 #062F13 #060D2F #2F0621
split-complementary
#2F2806 #06212F #13062F
monochromatic
#1B1703 #1B1703 #2F2806 #65560D #9C8414

Accessibility & contrast

On white

14.72
#2F2806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2F2806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2806
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2806#FFFFFF#000000##FFFFFF
##2F28061.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2703
Deuteranopia (green-blind)
#2F2908
Tritanopia (blue-blind)
#342421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f2806;
/* rgb */ color: rgb(47, 40, 6);
/* oklch */ color: oklch(27.7% 0.051 97.4);
Tailwind
colors: {
  custom: {
    50: '#696149',
    500: '#2f2806',
    950: '#000000',
  },
}
SCSS
$custom: #2f2806;
$custom-light: #696149;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2806",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 6
  },
  "hsl": {
    "h": 49.756,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27693,
    "c": 0.05053,
    "h": 97.4
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#2F2806
secondary
#212F70
accent
#55F434
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2806

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

Preview Lab → · Contrast checker → · Palette generator →

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