#2F2704#2F2704

#2F2704 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.052 H 96.0°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#2F2704
RGBrgb(47, 39, 4)
HSLhsl(49, 84%, 10%)
HSVhsv(49, 91%, 18%)
CMYKcmyk(0%, 17%, 91.5%, 81.6%)
CIE-LABlab(15.82, -0.99, 21.38)
CIE-LCHlch(15.82, 21.40, 92.65°)
OKLaboklab(27.4% -0.0054 0.0515)
OKLCHoklch(27.4% 0.052 96)
XYZxyz(1.9198, 2.0642, 0.4122)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2704 #040C2F
analogous
#2F1104 #2F2704 #222F04
triadic
#2F2704 #042F27 #27042F
tetradic
#2F2704 #042F11 #040C2F #2F0422
square
#2F2704 #042F11 #040C2F #2F0422
split-complementary
#2F2704 #04222F #11042F
monochromatic
#1C1702 #1C1702 #2F2704 #675609 #A0850E

Accessibility & contrast

On white

14.86
#2F2704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2F2704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2704
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2704#FFFFFF#000000##FFFFFF
##2F27041.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2601
Deuteranopia (green-blind)
#2E2806
Tritanopia (blue-blind)
#342320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2704;
/* rgb */ color: rgb(47, 39, 4);
/* oklch */ color: oklch(27.4% 0.052 96.0);
Tailwind
colors: {
  custom: {
    50: '#696048',
    500: '#2f2704',
    950: '#000000',
  },
}
SCSS
$custom: #2f2704;
$custom-light: #696048;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2704",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 4
  },
  "hsl": {
    "h": 48.837,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.274,
    "c": 0.05181,
    "h": 96
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#2F2704
secondary
#1D2D72
accent
#53FB2D
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2704

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

Preview Lab → · Contrast checker → · Palette generator →

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