#2F2C04#2F2C04

#2F2C04 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.057 H 105.1°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#2F2C04
RGBrgb(47, 44, 4)
HSLhsl(56, 84%, 10%)
HSVhsv(56, 91%, 18%)
CMYKcmyk(0%, 6.4%, 91.5%, 81.6%)
CIE-LABlab(17.53, -4.33, 23.49)
CIE-LCHlch(17.53, 23.89, 100.44°)
OKLaboklab(28.75% -0.0148 0.0548)
OKLCHoklch(28.75% 0.057 105.1)
XYZxyz(2.0950, 2.4146, 0.4705)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C04 #04072F
analogous
#2F1704 #2F2C04 #1C2F04
triadic
#2F2C04 #042F2C #2C042F
tetradic
#2F2C04 #042F17 #04072F #2F041C
square
#2F2C04 #042F17 #04072F #2F041C
split-complementary
#2F2C04 #041C2F #17042F
monochromatic
#1C1A02 #1C1A02 #2F2C04 #676109 #A0960E

Accessibility & contrast

On white

14.16
#2F2C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2F2C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C04
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C04#FFFFFF#000000##FFFFFF
##2F2C041.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#322C06
Tritanopia (blue-blind)
#332824
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2c04;
/* rgb */ color: rgb(47, 44, 4);
/* oklch */ color: oklch(28.8% 0.057 105.1);
Tailwind
colors: {
  custom: {
    50: '#696449',
    500: '#2f2c04',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c04;
$custom-light: #696449;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c04",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 55.814,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.28755,
    "c": 0.05678,
    "h": 105.1
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#2F2C04
secondary
#1D2372
accent
#3CFB2D
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2C04

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

Preview Lab → · Contrast checker → · Palette generator →

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