#2F2D06#2F2D06

#2F2D06 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.056 H 106.5°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#2F2D06
RGBrgb(47, 45, 6)
HSLhsl(57, 77%, 10%)
HSVhsv(57, 87%, 18%)
CMYKcmyk(0%, 4.3%, 87.2%, 81.6%)
CIE-LABlab(17.89, -4.82, 23.11)
CIE-LCHlch(17.89, 23.61, 101.79°)
OKLaboklab(29.05% -0.0158 0.0536)
OKLCHoklch(29.05% 0.056 106.5)
XYZxyz(2.1436, 2.4943, 0.5408)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D06 #06082F
analogous
#2F1806 #2F2D06 #1C2F06
triadic
#2F2D06 #062F2D #2D062F
tetradic
#2F2D06 #062F18 #06082F #2F061C
square
#2F2D06 #062F18 #06082F #2F061C
split-complementary
#2F2D06 #061C2F #18062F
monochromatic
#1B1A03 #1B1A03 #2F2D06 #65610D #9C9514

Accessibility & contrast

On white

14.01
#2F2D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2F2D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D06
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D06#FFFFFF#000000##FFFFFF
##2F2D061.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B02
Deuteranopia (green-blind)
#332C08
Tritanopia (blue-blind)
#332925
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2d06;
/* rgb */ color: rgb(47, 45, 6);
/* oklch */ color: oklch(29.1% 0.056 106.5);
Tailwind
colors: {
  custom: {
    50: '#69654a',
    500: '#2f2d06',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d06;
$custom-light: #69654a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d06",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 6
  },
  "hsl": {
    "h": 57.073,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29053,
    "c": 0.05588,
    "h": 106.5
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#2F2D06
secondary
#212570
accent
#3DF434
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2D06

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

Preview Lab → · Contrast checker → · Palette generator →

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