#2D2F16#2D2F16

#2D2F16 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.041 H 112.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#2D2F16
RGBrgb(45, 47, 22)
HSLhsl(65, 36%, 14%)
HSVhsv(65, 53%, 18%)
CMYKcmyk(4.3%, 0%, 53.2%, 81.6%)
CIE-LABlab(18.58, -5.62, 15.71)
CIE-LCHlch(18.58, 16.69, 109.67°)
OKLaboklab(29.61% -0.0158 0.0378)
OKLCHoklch(29.61% 0.041 112.6)
XYZxyz(2.2436, 2.6489, 1.1520)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F16 #18162F
analogous
#2F2416 #2D2F16 #202F16
triadic
#2D2F16 #162D2F #2F162D
tetradic
#2D2F16 #162F24 #18162F #2F1620
square
#2D2F16 #162F24 #18162F #2F1620
split-complementary
#2D2F16 #16202F #24162F
monochromatic
#14150A #14150A #2D2F16 #55592A #7D823D

Accessibility & contrast

On white

13.73
#2D2F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2D2F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F16
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F16#FFFFFF#000000##FFFFFF
##2D2F161.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D14
Deuteranopia (green-blind)
#322E17
Tritanopia (blue-blind)
#302C29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2f16;
/* rgb */ color: rgb(45, 47, 22);
/* oklch */ color: oklch(29.6% 0.041 112.6);
Tailwind
colors: {
  custom: {
    50: '#666753',
    500: '#2d2f16',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f16;
$custom-light: #666753;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f16",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 22
  },
  "hsl": {
    "h": 64.8,
    "s": 36.232,
    "l": 13.529
  },
  "oklch": {
    "l": 0.29613,
    "c": 0.04099,
    "h": 112.6
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#2D2F16
secondary
#3F3C65
accent
#5CCC65
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D2F16

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

Preview Lab → · Contrast checker → · Palette generator →

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