#2D2B04#2D2B04

#2D2B04 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.056 H 106.5°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#2D2B04
RGBrgb(45, 43, 4)
HSLhsl(57, 84%, 10%)
HSVhsv(57, 91%, 18%)
CMYKcmyk(0%, 4.4%, 91.1%, 82.4%)
CIE-LABlab(16.96, -4.78, 22.75)
CIE-LCHlch(16.96, 23.25, 101.86°)
OKLaboklab(28.25% -0.0159 0.0537)
OKLCHoklch(28.25% 0.056 106.5)
XYZxyz(1.9681, 2.2945, 0.4541)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B04 #04062D
analogous
#2D1704 #2D2B04 #1B2D04
triadic
#2D2B04 #042D2B #2B042D
tetradic
#2D2B04 #042D17 #04062D #2D041B
square
#2D2B04 #042D17 #04062D #2D041B
split-complementary
#2D2B04 #041B2D #17042D
monochromatic
#1C1B02 #1C1B02 #2D2B04 #656109 #9D960E

Accessibility & contrast

On white

14.40
#2D2B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2D2B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B04
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B04#FFFFFF#000000##FFFFFF
##2D2B041.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#312B06
Tritanopia (blue-blind)
#312723
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d2b04;
/* rgb */ color: rgb(45, 43, 4);
/* oklch */ color: oklch(28.3% 0.056 106.5);
Tailwind
colors: {
  custom: {
    50: '#676449',
    500: '#2d2b04',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b04;
$custom-light: #676449;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b04",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 57.073,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28252,
    "c": 0.05598,
    "h": 106.5
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#2D2B04
secondary
#1D2170
accent
#38FA2E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2B04

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

Preview Lab → · Contrast checker → · Palette generator →

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