#2D2907#2D2907

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

Color values

HEX#2D2907
RGBrgb(45, 41, 7)
HSLhsl(54, 73%, 10%)
HSVhsv(54, 84%, 18%)
CMYKcmyk(0%, 8.9%, 84.4%, 82.4%)
CIE-LABlab(16.30, -3.21, 20.71)
CIE-LCHlch(16.30, 20.96, 98.81°)
OKLaboklab(27.74% -0.011 0.0493)
OKLCHoklch(27.74% 0.05 102.6)
XYZxyz(1.9136, 2.1592, 0.5169)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2907 #070B2D
analogous
#2D1607 #2D2907 #1E2D07
triadic
#2D2907 #072D29 #29072D
tetradic
#2D2907 #072D16 #070B2D #2D071E
square
#2D2907 #072D16 #070B2D #2D071E
split-complementary
#2D2907 #071E2D #16072D
monochromatic
#1A1804 #1A1804 #2D2907 #62590F #978A17

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2907#FFFFFF#000000##FFFFFF
##2D29071.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)
#2E2704
Deuteranopia (green-blind)
#2F2909
Tritanopia (blue-blind)
#312522
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2907;
/* rgb */ color: rgb(45, 41, 7);
/* oklch */ color: oklch(27.7% 0.050 102.6);
Tailwind
colors: {
  custom: {
    50: '#67624a',
    500: '#2d2907',
    950: '#000000',
  },
}
SCSS
$custom: #2d2907;
$custom-light: #67624a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2907",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 7
  },
  "hsl": {
    "h": 53.684,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27736,
    "c": 0.05046,
    "h": 102.6
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#2D2907
secondary
#232B6D
accent
#4BF038
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D2907

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

Preview Lab → · Contrast checker → · Palette generator →

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