#2F2A06#2F2A06

#2F2A06 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.053 H 101.3°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#2F2A06
RGBrgb(47, 42, 6)
HSLhsl(53, 77%, 10%)
HSVhsv(53, 87%, 18%)
CMYKcmyk(0%, 10.6%, 87.2%, 81.6%)
CIE-LABlab(16.86, -2.85, 21.86)
CIE-LCHlch(16.86, 22.05, 97.42°)
OKLaboklab(28.23% -0.0103 0.0515)
OKLCHoklch(28.23% 0.053 101.3)
XYZxyz(2.0332, 2.2735, 0.5040)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A06 #060B2F
analogous
#2F1506 #2F2A06 #1F2F06
triadic
#2F2A06 #062F2A #2A062F
tetradic
#2F2A06 #062F15 #060B2F #2F061F
square
#2F2A06 #062F15 #060B2F #2F061F
split-complementary
#2F2A06 #061F2F #15062F
monochromatic
#1B1803 #1B1803 #2F2A06 #655A0D #9C8B14

Accessibility & contrast

On white

14.44
#2F2A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2F2A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A06
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A06#FFFFFF#000000##FFFFFF
##2F2A061.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2802
Deuteranopia (green-blind)
#302A08
Tritanopia (blue-blind)
#332623
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2a06;
/* rgb */ color: rgb(47, 42, 6);
/* oklch */ color: oklch(28.2% 0.053 101.3);
Tailwind
colors: {
  custom: {
    50: '#696349',
    500: '#2f2a06',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a06;
$custom-light: #696349;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a06",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 52.683,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28232,
    "c": 0.05251,
    "h": 101.3
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#2F2A06
secondary
#212B70
accent
#4BF434
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2A06

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

Preview Lab → · Contrast checker → · Palette generator →

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