#2D2D0C#2D2D0C

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

Color values

HEX#2D2D0C
RGBrgb(45, 45, 12)
HSLhsl(60, 58%, 11%)
HSVhsv(60, 73%, 18%)
CMYKcmyk(0%, 0%, 73.3%, 82.4%)
CIE-LABlab(17.74, -5.43, 20.39)
CIE-LCHlch(17.74, 21.10, 104.91°)
OKLaboklab(28.9% -0.0165 0.0475)
OKLCHoklch(28.9% 0.05 109.2)
XYZxyz(2.0870, 2.4613, 0.7129)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D0C #0C0C2D
analogous
#2D1C0C #2D2D0C #1C2D0C
triadic
#2D2D0C #0C2D2D #2D0C2D
tetradic
#2D2D0C #0C2D1C #0C0C2D #2D0C1C
square
#2D2D0C #0C2D1C #0C0C2D #2D0C1C
split-complementary
#2D2D0C #0C1C2D #1C0C2D
monochromatic
#181806 #181806 #2D2D0C #5D5D19 #8E8E26

Accessibility & contrast

On white

14.07
#2D2D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2D0C
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D0C#FFFFFF#000000##FFFFFF
##2D2D0C1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B08
Deuteranopia (green-blind)
#322C0E
Tritanopia (blue-blind)
#312A26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d2d0c;
/* rgb */ color: rgb(45, 45, 12);
/* oklch */ color: oklch(28.9% 0.050 109.2);
Tailwind
colors: {
  custom: {
    50: '#67654d',
    500: '#2d2d0c',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d0c;
$custom-light: #67654d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d0c",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 60,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28901,
    "c": 0.05032,
    "h": 109.2
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#2D2D0C
secondary
#2C2C69
accent
#47E147
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2D2D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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