#2D2806#2D2806

#2D2806 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.050 H 100.8°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#2D2806
RGBrgb(45, 40, 6)
HSLhsl(52, 76%, 10%)
HSVhsv(52, 87%, 18%)
CMYKcmyk(0%, 11.1%, 86.7%, 82.4%)
CIE-LABlab(15.95, -2.62, 20.67)
CIE-LCHlch(15.95, 20.84, 97.23°)
OKLaboklab(27.45% -0.0095 0.0495)
OKLCHoklch(27.45% 0.05 100.8)
XYZxyz(1.8739, 2.0887, 0.4767)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2806 #060B2D
analogous
#2D1506 #2D2806 #1E2D06
triadic
#2D2806 #062D28 #28062D
tetradic
#2D2806 #062D15 #060B2D #2D061E
square
#2D2806 #062D15 #060B2D #2D061E
split-complementary
#2D2806 #061E2D #15062D
monochromatic
#1B1804 #1B1804 #2D2806 #63580D #998814

Accessibility & contrast

On white

14.81
#2D2806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2D2806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2806
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2806#FFFFFF#000000##FFFFFF
##2D28061.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2703
Deuteranopia (green-blind)
#2E2908
Tritanopia (blue-blind)
#312421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2806;
/* rgb */ color: rgb(45, 40, 6);
/* oklch */ color: oklch(27.5% 0.050 100.8);
Tailwind
colors: {
  custom: {
    50: '#676149',
    500: '#2d2806',
    950: '#000000',
  },
}
SCSS
$custom: #2d2806;
$custom-light: #676149;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2806",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 6
  },
  "hsl": {
    "h": 52.308,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.27451,
    "c": 0.05045,
    "h": 100.8
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#2D2806
secondary
#212B6E
accent
#4DF335
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D2806

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

Preview Lab → · Contrast checker → · Palette generator →

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