#2D2D08#2D2D08

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

Color values

HEX#2D2D08
RGBrgb(45, 45, 8)
HSLhsl(60, 70%, 10%)
HSVhsv(60, 82%, 18%)
CMYKcmyk(0%, 0%, 82.2%, 82.4%)
CIE-LABlab(17.70, -5.76, 22.02)
CIE-LCHlch(17.70, 22.76, 104.66°)
OKLaboklab(28.85% -0.018 0.0512)
OKLCHoklch(28.85% 0.054 109.4)
XYZxyz(2.0645, 2.4523, 0.5943)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D08 #08082D
analogous
#2D1A08 #2D2D08 #1A2D08
triadic
#2D2D08 #082D2D #2D082D
tetradic
#2D2D08 #082D1A #08082D #2D081A
square
#2D2D08 #082D1A #08082D #2D081A
split-complementary
#2D2D08 #081A2D #1A082D
monochromatic
#1A1A05 #1A1A05 #2D2D08 #616111 #95951A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D2D08#FFFFFF#000000##FFFFFF
##2D2D081.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)
#312B04
Deuteranopia (green-blind)
#322C0A
Tritanopia (blue-blind)
#312A26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d2d08;
/* rgb */ color: rgb(45, 45, 8);
/* oklch */ color: oklch(28.9% 0.054 109.4);
Tailwind
colors: {
  custom: {
    50: '#67654b',
    500: '#2d2d08',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d08;
$custom-light: #67654b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d08",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 60,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28855,
    "c": 0.0543,
    "h": 109.4
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#2D2D08
secondary
#25256C
accent
#3BED3B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2D2D08

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

Preview Lab → · Contrast checker → · Palette generator →

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