#2F2A09#2F2A09

#2F2A09 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.049 H 100.6°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#2F2A09
RGBrgb(47, 42, 9)
HSLhsl(52, 68%, 11%)
HSVhsv(52, 81%, 18%)
CMYKcmyk(0%, 10.6%, 80.9%, 81.6%)
CIE-LABlab(16.89, -2.61, 20.68)
CIE-LCHlch(16.89, 20.84, 97.19°)
OKLaboklab(28.27% -0.0091 0.0486)
OKLCHoklch(28.27% 0.049 100.6)
XYZxyz(2.0497, 2.2801, 0.5905)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A09 #090E2F
analogous
#2F1709 #2F2A09 #212F09
triadic
#2F2A09 #092F2A #2A092F
tetradic
#2F2A09 #092F17 #090E2F #2F0921
square
#2F2A09 #092F17 #090E2F #2F0921
split-complementary
#2F2A09 #09212F #17092F
monochromatic
#1A1705 #1A1705 #2F2A09 #625813 #96861D

Accessibility & contrast

On white

14.42
#2F2A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2F2A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A09
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A09#FFFFFF#000000##FFFFFF
##2F2A091.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2905
Deuteranopia (green-blind)
#302B0B
Tritanopia (blue-blind)
#332623
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2a09;
/* rgb */ color: rgb(47, 42, 9);
/* oklch */ color: oklch(28.3% 0.049 100.6);
Tailwind
colors: {
  custom: {
    50: '#69634b',
    500: '#2f2a09',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a09;
$custom-light: #69634b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a09",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 52.105,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28267,
    "c": 0.04945,
    "h": 100.6
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#2F2A09
secondary
#27306D
accent
#54EB3D
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2A09

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

Preview Lab → · Contrast checker → · Palette generator →

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