#2D2C04#2D2C04

#2D2C04 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.057 H 108.1°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#2D2C04
RGBrgb(45, 44, 4)
HSLhsl(59, 84%, 10%)
HSVhsv(59, 91%, 18%)
CMYKcmyk(0%, 2.2%, 91.1%, 82.4%)
CIE-LABlab(17.31, -5.43, 23.18)
CIE-LCHlch(17.31, 23.81, 103.19°)
OKLaboklab(28.53% -0.0177 0.0543)
OKLCHoklch(28.53% 0.057 108.1)
XYZxyz(2.0049, 2.3681, 0.4663)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C04 #04052D
analogous
#2D1804 #2D2C04 #1A2D04
triadic
#2D2C04 #042D2C #2C042D
tetradic
#2D2C04 #042D18 #04052D #2D041A
square
#2D2C04 #042D18 #04052D #2D041A
split-complementary
#2D2C04 #041A2D #18042D
monochromatic
#1C1B02 #1C1B02 #2D2C04 #656309 #9D9A0E

Accessibility & contrast

On white

14.25
#2D2C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2D2C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C04
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C04#FFFFFF#000000##FFFFFF
##2D2C041.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#312B06
Tritanopia (blue-blind)
#312824
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d2c04;
/* rgb */ color: rgb(45, 44, 4);
/* oklch */ color: oklch(28.5% 0.057 108.1);
Tailwind
colors: {
  custom: {
    50: '#676449',
    500: '#2d2c04',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c04;
$custom-light: #676449;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c04",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 58.537,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2853,
    "c": 0.05717,
    "h": 108.1
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#2D2C04
secondary
#1D1F70
accent
#33FA2E
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2D2C04

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

Preview Lab → · Contrast checker → · Palette generator →

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