#2D2D0B#2D2D0B

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

Color values

HEX#2D2D0B
RGBrgb(45, 45, 11)
HSLhsl(60, 61%, 11%)
HSVhsv(60, 76%, 18%)
CMYKcmyk(0%, 0%, 75.6%, 82.4%)
CIE-LABlab(17.73, -5.52, 20.82)
CIE-LCHlch(17.73, 21.54, 104.84°)
OKLaboklab(28.89% -0.0169 0.0485)
OKLCHoklch(28.89% 0.051 109.2)
XYZxyz(2.0810, 2.4589, 0.6815)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D0B #0B0B2D
analogous
#2D1C0B #2D2D0B #1C2D0B
triadic
#2D2D0B #0B2D2D #2D0B2D
tetradic
#2D2D0B #0B2D1C #0B0B2D #2D0B1C
square
#2D2D0B #0B2D1C #0B0B2D #2D0B1C
split-complementary
#2D2D0B #0B1C2D #1C0B2D
monochromatic
#191906 #191906 #2D2D0B #5E5E17 #8F8F23

Accessibility & contrast

On white

14.08
#2D2D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2D0B
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D0B#FFFFFF#000000##FFFFFF
##2D2D0B1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2d0b;
/* rgb */ color: rgb(45, 45, 11);
/* oklch */ color: oklch(28.9% 0.051 109.2);
Tailwind
colors: {
  custom: {
    50: '#67654c',
    500: '#2d2d0b',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d0b;
$custom-light: #67654c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d0b",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 11
  },
  "hsl": {
    "h": 60,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28889,
    "c": 0.05135,
    "h": 109.2
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#2D2D0B
secondary
#2A2A69
accent
#44E444
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2D2D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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