#2D2D0F#2D2D0F

#2D2D0F is a dark, muted yellow. Relative luminance 0.025; OKLCH L 28.9% C 0.047 H 109.0°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#2D2D0F
RGBrgb(45, 45, 15)
HSLhsl(60, 50%, 12%)
HSVhsv(60, 67%, 18%)
CMYKcmyk(0%, 0%, 66.7%, 82.4%)
CIE-LABlab(17.78, -5.14, 18.96)
CIE-LCHlch(17.78, 19.64, 105.18°)
OKLaboklab(28.94% -0.0153 0.0444)
OKLCHoklch(28.94% 0.047 109)
XYZxyz(2.1069, 2.4692, 0.8175)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D0F #0F0F2D
analogous
#2D1E0F #2D2D0F #1E2D0F
triadic
#2D2D0F #0F2D2D #2D0F2D
tetradic
#2D2D0F #0F2D1E #0F0F2D #2D0F1E
square
#2D2D0F #0F2D1E #0F0F2D #2D0F1E
split-complementary
#2D2D0F #0F1E2D #1E0F2D
monochromatic
#171708 #171708 #2D2D0F #5B5B1E #89892E

Accessibility & contrast

On white

14.06
#2D2D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2D2D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D0F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D0F#FFFFFF#000000##FFFFFF
##2D2D0F1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0C
Deuteranopia (green-blind)
#312C11
Tritanopia (blue-blind)
#302A26
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2d2d0f;
/* rgb */ color: rgb(45, 45, 15);
/* oklch */ color: oklch(28.9% 0.047 109.0);
Tailwind
colors: {
  custom: {
    50: '#67654e',
    500: '#2d2d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d0f;
$custom-light: #67654e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d0f",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28941,
    "c": 0.04697,
    "h": 109
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#2D2D0F
secondary
#313166
accent
#4EDA4E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2D2D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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