#2F2906#2F2906

#2F2906 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.051 H 99.4°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#2F2906
RGBrgb(47, 41, 6)
HSLhsl(51, 77%, 10%)
HSVhsv(51, 87%, 18%)
CMYKcmyk(0%, 12.8%, 87.2%, 81.6%)
CIE-LABlab(16.52, -2.18, 21.44)
CIE-LCHlch(16.52, 21.55, 95.80°)
OKLaboklab(27.96% -0.0084 0.0508)
OKLCHoklch(27.96% 0.051 99.4)
XYZxyz(1.9982, 2.2035, 0.4923)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2906 #060C2F
analogous
#2F1506 #2F2906 #202F06
triadic
#2F2906 #062F29 #29062F
tetradic
#2F2906 #062F15 #060C2F #2F0620
square
#2F2906 #062F15 #060C2F #2F0620
split-complementary
#2F2906 #06202F #15062F
monochromatic
#1B1803 #1B1803 #2F2906 #65580D #9C8814

Accessibility & contrast

On white

14.58
#2F2906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2F2906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2906
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2906#FFFFFF#000000##FFFFFF
##2F29061.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2802
Deuteranopia (green-blind)
#302A08
Tritanopia (blue-blind)
#332522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f2906;
/* rgb */ color: rgb(47, 41, 6);
/* oklch */ color: oklch(28.0% 0.051 99.4);
Tailwind
colors: {
  custom: {
    50: '#696249',
    500: '#2f2906',
    950: '#000000',
  },
}
SCSS
$custom: #2f2906;
$custom-light: #696249;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2906",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 51.22,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27962,
    "c": 0.05149,
    "h": 99.4
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#2F2906
secondary
#212D70
accent
#50F434
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2906

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

Preview Lab → · Contrast checker → · Palette generator →

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