#2F2606#2F2606

#2F2606 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.049 H 93.1°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#2F2606
RGBrgb(47, 38, 6)
HSLhsl(47, 77%, 10%)
HSVhsv(47, 87%, 18%)
CMYKcmyk(0%, 19.1%, 87.2%, 81.6%)
CIE-LABlab(15.51, -0.15, 20.17)
CIE-LCHlch(15.51, 20.17, 90.42°)
OKLaboklab(27.16% -0.0026 0.0487)
OKLCHoklch(27.16% 0.049 93.1)
XYZxyz(1.8984, 2.0038, 0.4590)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2606 #060F2F
analogous
#2F1106 #2F2606 #232F06
triadic
#2F2606 #062F26 #26062F
tetradic
#2F2606 #062F11 #060F2F #2F0623
square
#2F2606 #062F11 #060F2F #2F0623
split-complementary
#2F2606 #06232F #11062F
monochromatic
#1B1603 #1B1603 #2F2606 #65520D #9C7E14

Accessibility & contrast

On white

14.99
#2F2606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2F2606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2606
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2606#FFFFFF#000000##FFFFFF
##2F26061.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2503
Deuteranopia (green-blind)
#2D2807
Tritanopia (blue-blind)
#342220
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2606;
/* rgb */ color: rgb(47, 38, 6);
/* oklch */ color: oklch(27.2% 0.049 93.1);
Tailwind
colors: {
  custom: {
    50: '#696049',
    500: '#2f2606',
    950: '#000000',
  },
}
SCSS
$custom: #2f2606;
$custom-light: #696049;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2606",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 6
  },
  "hsl": {
    "h": 46.829,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2716,
    "c": 0.04879,
    "h": 93.1
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#2F2606
secondary
#213270
accent
#5EF434
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2F2606

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

Preview Lab → · Contrast checker → · Palette generator →

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