#2D2D07#2D2D07

#2D2D07 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 28.8% C 0.055 H 109.4°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#2D2D07
RGBrgb(45, 45, 7)
HSLhsl(60, 73%, 10%)
HSVhsv(60, 84%, 18%)
CMYKcmyk(0%, 0%, 84.4%, 82.4%)
CIE-LABlab(17.69, -5.84, 22.42)
CIE-LCHlch(17.69, 23.16, 104.60°)
OKLaboklab(28.84% -0.0184 0.0522)
OKLCHoklch(28.84% 0.055 109.4)
XYZxyz(2.0590, 2.4501, 0.5654)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D07 #07072D
analogous
#2D1A07 #2D2D07 #1A2D07
triadic
#2D2D07 #072D2D #2D072D
tetradic
#2D2D07 #072D1A #07072D #2D071A
square
#2D2D07 #072D1A #07072D #2D071A
split-complementary
#2D2D07 #071A2D #1A072D
monochromatic
#1A1A04 #1A1A04 #2D2D07 #62620F #979717

Accessibility & contrast

On white

14.09
#2D2D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2D07
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D07#FFFFFF#000000##FFFFFF
##2D2D071.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B03
Deuteranopia (green-blind)
#322C09
Tritanopia (blue-blind)
#312A25
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d2d07;
/* rgb */ color: rgb(45, 45, 7);
/* oklch */ color: oklch(28.8% 0.055 109.4);
Tailwind
colors: {
  custom: {
    50: '#67654a',
    500: '#2d2d07',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d07;
$custom-light: #67654a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d07",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 7
  },
  "hsl": {
    "h": 60,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28844,
    "c": 0.05529,
    "h": 109.4
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#2D2D07
secondary
#23236D
accent
#38F038
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2D2D07

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

Preview Lab → · Contrast checker → · Palette generator →

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