#2F2F06#2F2F06

#2F2F06 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.6% C 0.058 H 109.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#2F2F06
RGBrgb(47, 47, 6)
HSLhsl(60, 77%, 10%)
HSVhsv(60, 87%, 18%)
CMYKcmyk(0%, 0%, 87.2%, 81.6%)
CIE-LABlab(18.59, -6.12, 23.94)
CIE-LCHlch(18.59, 24.71, 104.33°)
OKLaboklab(29.61% -0.0195 0.055)
OKLCHoklch(29.61% 0.058 109.5)
XYZxyz(2.2218, 2.6506, 0.5668)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F06 #06062F
analogous
#2F1A06 #2F2F06 #1A2F06
triadic
#2F2F06 #062F2F #2F062F
tetradic
#2F2F06 #062F1A #06062F #2F061A
square
#2F2F06 #062F1A #06062F #2F061A
split-complementary
#2F2F06 #061A2F #1A062F
monochromatic
#1B1B03 #1B1B03 #2F2F06 #65650D #9C9C14

Accessibility & contrast

On white

13.72
#2F2F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2F2F06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F06
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F06#FFFFFF#000000##FFFFFF
##2F2F061.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D01
Deuteranopia (green-blind)
#342E09
Tritanopia (blue-blind)
#332B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2f06;
/* rgb */ color: rgb(47, 47, 6);
/* oklch */ color: oklch(29.6% 0.058 109.5);
Tailwind
colors: {
  custom: {
    50: '#69674a',
    500: '#2f2f06',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f06;
$custom-light: #69674a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f06",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 60,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29606,
    "c": 0.05832,
    "h": 109.5
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#2F2F06
secondary
#212170
accent
#34F434
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F2F06

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

Preview Lab → · Contrast checker → · Palette generator →

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