#2F2C0C#2F2C0C

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

Color values

HEX#2F2C0C
RGBrgb(47, 44, 12)
HSLhsl(55, 59%, 12%)
HSVhsv(55, 74%, 18%)
CMYKcmyk(0%, 6.4%, 74.5%, 81.6%)
CIE-LABlab(17.61, -3.70, 20.28)
CIE-LCHlch(17.61, 20.62, 100.32°)
OKLaboklab(28.85% -0.0118 0.0473)
OKLCHoklch(28.85% 0.049 104)
XYZxyz(2.1394, 2.4323, 0.7045)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C0C #0C0F2F
analogous
#2F1B0C #2F2C0C #212F0C
triadic
#2F2C0C #0C2F2C #2C0C2F
tetradic
#2F2C0C #0C2F1B #0C0F2F #2F0C21
square
#2F2C0C #0C2F1B #0C0F2F #2F0C21
split-complementary
#2F2C0C #0C212F #1B0C2F
monochromatic
#181706 #181706 #2F2C0C #605A18 #918725

Accessibility & contrast

On white

14.13
#2F2C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2F2C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C0C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C0C#FFFFFF#000000##FFFFFF
##2F2C0C1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A08
Deuteranopia (green-blind)
#312C0E
Tritanopia (blue-blind)
#332925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2c0c;
/* rgb */ color: rgb(47, 44, 12);
/* oklch */ color: oklch(28.8% 0.049 104.0);
Tailwind
colors: {
  custom: {
    50: '#69644d',
    500: '#2f2c0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c0c;
$custom-light: #69644d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c0c",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 12
  },
  "hsl": {
    "h": 54.857,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28847,
    "c": 0.04873,
    "h": 104
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#2F2C0C
secondary
#2C316B
accent
#53E345
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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