#2D2C08#2D2C08

#2D2C08 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.053 H 107.8°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#2D2C08
RGBrgb(45, 44, 8)
HSLhsl(58, 70%, 10%)
HSVhsv(58, 82%, 18%)
CMYKcmyk(0%, 2.2%, 82.2%, 82.4%)
CIE-LABlab(17.35, -5.11, 21.60)
CIE-LCHlch(17.35, 22.19, 103.30°)
OKLaboklab(28.58% -0.0162 0.0505)
OKLCHoklch(28.58% 0.053 107.8)
XYZxyz(2.0268, 2.3768, 0.5817)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C08 #08092D
analogous
#2D1908 #2D2C08 #1B2D08
triadic
#2D2C08 #082D2C #2C082D
tetradic
#2D2C08 #082D19 #08092D #2D081B
square
#2D2C08 #082D19 #08092D #2D081B
split-complementary
#2D2C08 #081B2D #19082D
monochromatic
#1A1905 #1A1905 #2D2C08 #615F11 #95921A

Accessibility & contrast

On white

14.23
#2D2C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2D2C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C08
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C08#FFFFFF#000000##FFFFFF
##2D2C081.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A04
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#312925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d2c08;
/* rgb */ color: rgb(45, 44, 8);
/* oklch */ color: oklch(28.6% 0.053 107.8);
Tailwind
colors: {
  custom: {
    50: '#67644b',
    500: '#2d2c08',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c08;
$custom-light: #67644b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c08",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 58.378,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28576,
    "c": 0.05301,
    "h": 107.8
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#2D2C08
secondary
#25276C
accent
#40ED3B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2D2C08

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

Preview Lab → · Contrast checker → · Palette generator →

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