#2D2A0F#2D2A0F

#2D2A0F is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.1% C 0.043 H 103.0°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#2D2A0F
RGBrgb(45, 42, 15)
HSLhsl(54, 50%, 12%)
HSVhsv(54, 67%, 18%)
CMYKcmyk(0%, 6.7%, 66.7%, 82.4%)
CIE-LABlab(16.74, -3.17, 17.70)
CIE-LCHlch(16.74, 17.98, 100.14°)
OKLaboklab(28.12% -0.0096 0.0418)
OKLCHoklch(28.12% 0.043 103)
XYZxyz(1.9964, 2.2484, 0.7807)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A0F #0F122D
analogous
#2D1B0F #2D2A0F #212D0F
triadic
#2D2A0F #0F2D2A #2A0F2D
tetradic
#2D2A0F #0F2D1B #0F122D #2D0F21
square
#2D2A0F #0F2D1B #0F122D #2D0F21
split-complementary
#2D2A0F #0F212D #1B0F2D
monochromatic
#171508 #171508 #2D2A0F #5B551E #89802E

Accessibility & contrast

On white

14.49
#2D2A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2D2A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A0F
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A0F#FFFFFF#000000##FFFFFF
##2D2A0F1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280C
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#312724
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d2a0f;
/* rgb */ color: rgb(45, 42, 15);
/* oklch */ color: oklch(28.1% 0.043 103.0);
Tailwind
colors: {
  custom: {
    50: '#67634e',
    500: '#2d2a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a0f;
$custom-light: #67634e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a0f",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 54,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28115,
    "c": 0.04294,
    "h": 103
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#2D2A0F
secondary
#313766
accent
#5CDA4E
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D2A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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