#2F2D0D#2F2D0D

#2F2D0D is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.049 H 105.7°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#2F2D0D
RGBrgb(47, 45, 13)
HSLhsl(56, 57%, 12%)
HSVhsv(56, 72%, 18%)
CMYKcmyk(0%, 4.3%, 72.3%, 81.6%)
CIE-LABlab(17.96, -4.26, 20.24)
CIE-LCHlch(17.96, 20.69, 101.90°)
OKLaboklab(29.13% -0.0132 0.0471)
OKLCHoklch(29.13% 0.049 105.7)
XYZxyz(2.1834, 2.5102, 0.7502)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D0D #0D0F2F
analogous
#2F1C0D #2F2D0D #202F0D
triadic
#2F2D0D #0D2F2D #2D0D2F
tetradic
#2F2D0D #0D2F1C #0D0F2F #2F0D20
square
#2F2D0D #0D2F1C #0D0F2F #2F0D20
split-complementary
#2F2D0D #0D202F #1C0D2F
monochromatic
#181707 #181707 #2F2D0D #5F5B1A #8F8928

Accessibility & contrast

On white

13.98
#2F2D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2F2D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D0D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D0D#FFFFFF#000000##FFFFFF
##2F2D0D1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B09
Deuteranopia (green-blind)
#322D0F
Tritanopia (blue-blind)
#332A26
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2d0d;
/* rgb */ color: rgb(47, 45, 13);
/* oklch */ color: oklch(29.1% 0.049 105.7);
Tailwind
colors: {
  custom: {
    50: '#69654d',
    500: '#2f2d0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d0d;
$custom-light: #69654d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d0d",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 13
  },
  "hsl": {
    "h": 56.471,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29133,
    "c": 0.04892,
    "h": 105.7
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#2F2D0D
secondary
#2E316A
accent
#51E048
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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