#2F290A#2F290A

#2F290A is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.047 H 98.3°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#2F290A
RGBrgb(47, 41, 10)
HSLhsl(50, 65%, 11%)
HSVhsv(50, 79%, 18%)
CMYKcmyk(0%, 12.8%, 78.7%, 81.6%)
CIE-LABlab(16.56, -1.86, 19.87)
CIE-LCHlch(16.56, 19.95, 95.35°)
OKLaboklab(28.01% -0.0068 0.0469)
OKLCHoklch(28.01% 0.047 98.3)
XYZxyz(2.0201, 2.2122, 0.6077)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F290A #0A102F
analogous
#2F160A #2F290A #222F0A
triadic
#2F290A #0A2F29 #290A2F
tetradic
#2F290A #0A2F16 #0A102F #2F0A22
square
#2F290A #0A2F16 #0A102F #2F0A22
split-complementary
#2F290A #0A222F #160A2F
monochromatic
#191605 #191605 #2F290A #615515 #94811F

Accessibility & contrast

On white

14.56
#2F290A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2F290A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F290A
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F290A#FFFFFF#000000##FFFFFF
##2F290A1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2807
Deuteranopia (green-blind)
#2F2A0C
Tritanopia (blue-blind)
#332522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f290a;
/* rgb */ color: rgb(47, 41, 10);
/* oklch */ color: oklch(28.0% 0.047 98.3);
Tailwind
colors: {
  custom: {
    50: '#69624b',
    500: '#2f290a',
    950: '#000000',
  },
}
SCSS
$custom: #2f290a;
$custom-light: #69624b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f290a",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 10
  },
  "hsl": {
    "h": 50.27,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28009,
    "c": 0.04738,
    "h": 98.3
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#2F290A
secondary
#29346C
accent
#5BE840
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F290A

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

Preview Lab → · Contrast checker → · Palette generator →

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