#2D2807#2D2807

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

Color values

HEX#2D2807
RGBrgb(45, 40, 7)
HSLhsl(52, 73%, 10%)
HSVhsv(52, 84%, 18%)
CMYKcmyk(0%, 11.1%, 84.4%, 82.4%)
CIE-LABlab(15.96, -2.54, 20.28)
CIE-LCHlch(15.96, 20.44, 97.14°)
OKLaboklab(27.46% -0.0091 0.0485)
OKLCHoklch(27.46% 0.049 100.6)
XYZxyz(1.8794, 2.0909, 0.5056)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2807 #070C2D
analogous
#2D1507 #2D2807 #1F2D07
triadic
#2D2807 #072D28 #28072D
tetradic
#2D2807 #072D15 #070C2D #2D071F
square
#2D2807 #072D15 #070C2D #2D071F
split-complementary
#2D2807 #071F2D #15072D
monochromatic
#1A1804 #1A1804 #2D2807 #62570F #978617

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2807#FFFFFF#000000##FFFFFF
##2D28071.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)
#2D2704
Deuteranopia (green-blind)
#2E2909
Tritanopia (blue-blind)
#312421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2807;
/* rgb */ color: rgb(45, 40, 7);
/* oklch */ color: oklch(27.5% 0.049 100.6);
Tailwind
colors: {
  custom: {
    50: '#67614a',
    500: '#2d2807',
    950: '#000000',
  },
}
SCSS
$custom: #2d2807;
$custom-light: #67614a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2807",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 7
  },
  "hsl": {
    "h": 52.105,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27463,
    "c": 0.04936,
    "h": 100.6
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#2D2807
secondary
#232D6D
accent
#50F038
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D2807

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

Preview Lab → · Contrast checker → · Palette generator →

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