#2D290F#2D290F

#2D290F is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.042 H 100.7°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#2D290F
RGBrgb(45, 41, 15)
HSLhsl(52, 50%, 12%)
HSVhsv(52, 67%, 18%)
CMYKcmyk(0%, 8.9%, 66.7%, 82.4%)
CIE-LABlab(16.40, -2.50, 17.27)
CIE-LCHlch(16.40, 17.45, 98.22°)
OKLaboklab(27.84% -0.0077 0.041)
OKLCHoklch(27.84% 0.042 100.7)
XYZxyz(1.9614, 2.1783, 0.7690)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D290F #0F132D
analogous
#2D1A0F #2D290F #222D0F
triadic
#2D290F #0F2D29 #290F2D
tetradic
#2D290F #0F2D1A #0F132D #2D0F22
square
#2D290F #0F2D1A #0F132D #2D0F22
split-complementary
#2D290F #0F222D #1A0F2D
monochromatic
#171508 #171508 #2D290F #5B531E #897D2E

Accessibility & contrast

On white

14.63
#2D290F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2D290F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D290F
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D290F#FFFFFF#000000##FFFFFF
##2D290F1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280D
Deuteranopia (green-blind)
#2E2910
Tritanopia (blue-blind)
#312623
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d290f;
/* rgb */ color: rgb(45, 41, 15);
/* oklch */ color: oklch(27.8% 0.042 100.7);
Tailwind
colors: {
  custom: {
    50: '#67624e',
    500: '#2d290f',
    950: '#000000',
  },
}
SCSS
$custom: #2d290f;
$custom-light: #67624e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d290f",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 15
  },
  "hsl": {
    "h": 52,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27842,
    "c": 0.0417,
    "h": 100.7
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#2D290F
secondary
#313866
accent
#61DA4E
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D290F

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

Preview Lab → · Contrast checker → · Palette generator →

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