#2D2906#2D2906

#2D2906 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.7% C 0.052 H 102.8°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#2D2906
RGBrgb(45, 41, 6)
HSLhsl(54, 76%, 10%)
HSVhsv(54, 87%, 18%)
CMYKcmyk(0%, 8.9%, 86.7%, 82.4%)
CIE-LABlab(16.29, -3.29, 21.11)
CIE-LCHlch(16.29, 21.36, 98.87°)
OKLaboklab(27.72% -0.0114 0.0503)
OKLCHoklch(27.72% 0.052 102.8)
XYZxyz(1.9081, 2.1570, 0.4881)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2906 #060A2D
analogous
#2D1506 #2D2906 #1E2D06
triadic
#2D2906 #062D29 #29062D
tetradic
#2D2906 #062D15 #060A2D #2D061E
square
#2D2906 #062D15 #060A2D #2D061E
split-complementary
#2D2906 #061E2D #15062D
monochromatic
#1B1904 #1B1904 #2D2906 #635A0D #998B14

Accessibility & contrast

On white

14.67
#2D2906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2D2906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2906
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2906#FFFFFF#000000##FFFFFF
##2D29061.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2702
Deuteranopia (green-blind)
#2F2908
Tritanopia (blue-blind)
#312522
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2906;
/* rgb */ color: rgb(45, 41, 6);
/* oklch */ color: oklch(27.7% 0.052 102.8);
Tailwind
colors: {
  custom: {
    50: '#676249',
    500: '#2d2906',
    950: '#000000',
  },
}
SCSS
$custom: #2d2906;
$custom-light: #676249;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2906",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 53.846,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.27724,
    "c": 0.05153,
    "h": 102.8
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#2D2906
secondary
#21296E
accent
#48F335
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D2906

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

Preview Lab → · Contrast checker → · Palette generator →

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