#2F2B06#2F2B06

#2F2B06 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.5% C 0.054 H 103.1°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#2F2B06
RGBrgb(47, 43, 6)
HSLhsl(54, 77%, 10%)
HSVhsv(54, 87%, 18%)
CMYKcmyk(0%, 8.5%, 87.2%, 81.6%)
CIE-LABlab(17.20, -3.51, 22.28)
CIE-LCHlch(17.20, 22.56, 98.95°)
OKLaboklab(28.5% -0.0121 0.0522)
OKLCHoklch(28.5% 0.054 103.1)
XYZxyz(2.0691, 2.3453, 0.5160)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B06 #060A2F
analogous
#2F1606 #2F2B06 #1E2F06
triadic
#2F2B06 #062F2B #2B062F
tetradic
#2F2B06 #062F16 #060A2F #2F061E
square
#2F2B06 #062F16 #060A2F #2F061E
split-complementary
#2F2B06 #061E2F #16062F
monochromatic
#1B1903 #1B1903 #2F2B06 #655D0D #9C8E14

Accessibility & contrast

On white

14.30
#2F2B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F2B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B06
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B06#FFFFFF#000000##FFFFFF
##2F2B061.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302902
Deuteranopia (green-blind)
#312B08
Tritanopia (blue-blind)
#332724
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2b06;
/* rgb */ color: rgb(47, 43, 6);
/* oklch */ color: oklch(28.5% 0.054 103.1);
Tailwind
colors: {
  custom: {
    50: '#69644a',
    500: '#2f2b06',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b06;
$custom-light: #69644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b06",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 54.146,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28504,
    "c": 0.05359,
    "h": 103.1
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#2F2B06
secondary
#212970
accent
#47F434
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2B06

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

Preview Lab → · Contrast checker → · Palette generator →

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