#2F2C0A#2F2C0A

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

Color values

HEX#2F2C0A
RGBrgb(47, 44, 10)
HSLhsl(55, 65%, 11%)
HSVhsv(55, 79%, 18%)
CMYKcmyk(0%, 6.4%, 78.7%, 81.6%)
CIE-LABlab(17.59, -3.86, 21.12)
CIE-LCHlch(17.59, 21.47, 100.36°)
OKLaboklab(28.82% -0.0125 0.0492)
OKLCHoklch(28.82% 0.051 104.3)
XYZxyz(2.1278, 2.4277, 0.6436)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C0A #0A0D2F
analogous
#2F190A #2F2C0A #1F2F0A
triadic
#2F2C0A #0A2F2C #2C0A2F
tetradic
#2F2C0A #0A2F19 #0A0D2F #2F0A1F
square
#2F2C0A #0A2F19 #0A0D2F #2F0A1F
split-complementary
#2F2C0A #0A1F2F #190A2F
monochromatic
#191805 #191805 #2F2C0A #615B15 #948A1F

Accessibility & contrast

On white

14.14
#2F2C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2C0A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C0A#FFFFFF#000000##FFFFFF
##2F2C0A1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A06
Deuteranopia (green-blind)
#322C0C
Tritanopia (blue-blind)
#332825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2c0a;
/* rgb */ color: rgb(47, 44, 10);
/* oklch */ color: oklch(28.8% 0.051 104.3);
Tailwind
colors: {
  custom: {
    50: '#69644c',
    500: '#2f2c0a',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c0a;
$custom-light: #69644c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c0a",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 10
  },
  "hsl": {
    "h": 55.135,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28823,
    "c": 0.05075,
    "h": 104.3
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#2F2C0A
secondary
#292E6C
accent
#4EE840
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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