#2D2F0D#2D2F0D

#2D2F0D is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.052 H 112.3°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#2D2F0D
RGBrgb(45, 47, 13)
HSLhsl(64, 57%, 12%)
HSVhsv(64, 72%, 18%)
CMYKcmyk(4.3%, 0%, 72.3%, 81.6%)
CIE-LABlab(18.45, -6.63, 20.77)
CIE-LCHlch(18.45, 21.81, 107.70°)
OKLaboklab(29.47% -0.0198 0.0482)
OKLCHoklch(29.47% 0.052 112.3)
XYZxyz(2.1714, 2.6200, 0.7720)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F0D #0F0D2F
analogous
#2F200D #2D2F0D #1C2F0D
triadic
#2D2F0D #0D2D2F #2F0D2D
tetradic
#2D2F0D #0D2F20 #0F0D2F #2F0D1C
square
#2D2F0D #0D2F20 #0F0D2F #2F0D1C
split-complementary
#2D2F0D #0D1C2F #200D2F
monochromatic
#171807 #171807 #2D2F0D #5B5F1A #898F28

Accessibility & contrast

On white

13.78
#2D2F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2D2F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F0D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F0D#FFFFFF#000000##FFFFFF
##2D2F0D1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D09
Deuteranopia (green-blind)
#332D0F
Tritanopia (blue-blind)
#302C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2f0d;
/* rgb */ color: rgb(45, 47, 13);
/* oklch */ color: oklch(29.5% 0.052 112.3);
Tailwind
colors: {
  custom: {
    50: '#67674d',
    500: '#2d2f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f0d;
$custom-light: #67674d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f0d",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 13
  },
  "hsl": {
    "h": 63.529,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29472,
    "c": 0.05206,
    "h": 112.3
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#2D2F0D
secondary
#312E6A
accent
#48E051
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D2F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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