#2F2904#2F2904

#2F2904 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.054 H 99.9°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#2F2904
RGBrgb(47, 41, 4)
HSLhsl(52, 84%, 10%)
HSVhsv(52, 91%, 18%)
CMYKcmyk(0%, 12.8%, 91.5%, 81.6%)
CIE-LABlab(16.50, -2.34, 22.23)
CIE-LCHlch(16.50, 22.35, 96.01°)
OKLaboklab(27.94% -0.0092 0.0528)
OKLCHoklch(27.94% 0.054 99.9)
XYZxyz(1.9872, 2.1991, 0.4346)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2904 #040A2F
analogous
#2F1404 #2F2904 #1F2F04
triadic
#2F2904 #042F29 #29042F
tetradic
#2F2904 #042F14 #040A2F #2F041F
square
#2F2904 #042F14 #040A2F #2F041F
split-complementary
#2F2904 #041F2F #14042F
monochromatic
#1C1902 #1C1902 #2F2904 #675A09 #A08B0E

Accessibility & contrast

On white

14.59
#2F2904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2904
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2904#FFFFFF#000000##FFFFFF
##2F29041.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#342522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f2904;
/* rgb */ color: rgb(47, 41, 4);
/* oklch */ color: oklch(27.9% 0.054 99.9);
Tailwind
colors: {
  custom: {
    50: '#696248',
    500: '#2f2904',
    950: '#000000',
  },
}
SCSS
$custom: #2f2904;
$custom-light: #696248;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2904",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 4
  },
  "hsl": {
    "h": 51.628,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27938,
    "c": 0.05363,
    "h": 99.9
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#2F2904
secondary
#1D2972
accent
#4AFB2D
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2904

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

Preview Lab → · Contrast checker → · Palette generator →

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