#2D2A08#2D2A08

#2D2A08 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.051 H 104.3°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#2D2A08
RGBrgb(45, 42, 8)
HSLhsl(55, 70%, 10%)
HSVhsv(55, 82%, 18%)
CMYKcmyk(0%, 6.7%, 82.2%, 82.4%)
CIE-LABlab(16.66, -3.79, 20.75)
CIE-LCHlch(16.66, 21.09, 100.36°)
OKLaboklab(28.02% -0.0125 0.049)
OKLCHoklch(28.02% 0.051 104.3)
XYZxyz(1.9541, 2.2314, 0.5575)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A08 #080B2D
analogous
#2D1708 #2D2A08 #1D2D08
triadic
#2D2A08 #082D2A #2A082D
tetradic
#2D2A08 #082D17 #080B2D #2D081D
square
#2D2A08 #082D17 #080B2D #2D081D
split-complementary
#2D2A08 #081D2D #17082D
monochromatic
#1A1805 #1A1805 #2D2A08 #615A11 #958B1A

Accessibility & contrast

On white

14.52
#2D2A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2D2A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A08
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A08#FFFFFF#000000##FFFFFF
##2D2A081.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2804
Deuteranopia (green-blind)
#302A0A
Tritanopia (blue-blind)
#312723
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d2a08;
/* rgb */ color: rgb(45, 42, 8);
/* oklch */ color: oklch(28.0% 0.051 104.3);
Tailwind
colors: {
  custom: {
    50: '#67634a',
    500: '#2d2a08',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a08;
$custom-light: #67634a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a08",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 55.135,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28023,
    "c": 0.05056,
    "h": 104.3
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#2D2A08
secondary
#252B6C
accent
#4AED3B
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D2A08

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

Preview Lab → · Contrast checker → · Palette generator →

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