#2F2A0C#2F2A0C

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

Color values

HEX#2F2A0C
RGBrgb(47, 42, 12)
HSLhsl(51, 59%, 12%)
HSVhsv(51, 74%, 18%)
CMYKcmyk(0%, 10.6%, 74.5%, 81.6%)
CIE-LABlab(16.93, -2.37, 19.45)
CIE-LCHlch(16.93, 19.60, 96.94°)
OKLaboklab(28.3% -0.008 0.0457)
OKLCHoklch(28.3% 0.046 99.9)
XYZxyz(2.0667, 2.2869, 0.6803)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A0C #0C112F
analogous
#2F190C #2F2A0C #232F0C
triadic
#2F2A0C #0C2F2A #2A0C2F
tetradic
#2F2A0C #0C2F19 #0C112F #2F0C23
square
#2F2A0C #0C2F19 #0C112F #2F0C23
split-complementary
#2F2A0C #0C232F #190C2F
monochromatic
#181606 #181606 #2F2A0C #605618 #918125

Accessibility & contrast

On white

14.41
#2F2A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2A0C
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A0C#FFFFFF#000000##FFFFFF
##2F2A0C1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2909
Deuteranopia (green-blind)
#302B0E
Tritanopia (blue-blind)
#332724
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2a0c;
/* rgb */ color: rgb(47, 42, 12);
/* oklch */ color: oklch(28.3% 0.046 99.9);
Tailwind
colors: {
  custom: {
    50: '#69634c',
    500: '#2f2a0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a0c;
$custom-light: #69634c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a0c",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 12
  },
  "hsl": {
    "h": 51.429,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28304,
    "c": 0.04639,
    "h": 99.9
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#2F2A0C
secondary
#2C356B
accent
#5CE345
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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