#2F2909#2F2909

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

Color values

HEX#2F2909
RGBrgb(47, 41, 9)
HSLhsl(51, 68%, 11%)
HSVhsv(51, 81%, 18%)
CMYKcmyk(0%, 12.8%, 80.9%, 81.6%)
CIE-LABlab(16.55, -1.94, 20.26)
CIE-LCHlch(16.55, 20.35, 95.47°)
OKLaboklab(28% -0.0072 0.0478)
OKLCHoklch(28% 0.048 98.6)
XYZxyz(2.0146, 2.2100, 0.5789)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2909 #090F2F
analogous
#2F1609 #2F2909 #222F09
triadic
#2F2909 #092F29 #29092F
tetradic
#2F2909 #092F16 #090F2F #2F0922
square
#2F2909 #092F16 #090F2F #2F0922
split-complementary
#2F2909 #09222F #16092F
monochromatic
#1A1605 #1A1605 #2F2909 #625613 #96831D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2909#FFFFFF#000000##FFFFFF
##2F29091.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)
#2E2806
Deuteranopia (green-blind)
#2F2A0B
Tritanopia (blue-blind)
#332522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f2909;
/* rgb */ color: rgb(47, 41, 9);
/* oklch */ color: oklch(28.0% 0.048 98.6);
Tailwind
colors: {
  custom: {
    50: '#69624b',
    500: '#2f2909',
    950: '#000000',
  },
}
SCSS
$custom: #2f2909;
$custom-light: #69624b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2909",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 9
  },
  "hsl": {
    "h": 50.526,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27998,
    "c": 0.04839,
    "h": 98.6
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#2F2909
secondary
#27326D
accent
#58EB3D
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2909

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

Preview Lab → · Contrast checker → · Palette generator →

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