#2D2A02#2D2A02

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

Color values

HEX#2D2A02
RGBrgb(45, 42, 2)
HSLhsl(56, 91%, 9%)
HSVhsv(56, 96%, 18%)
CMYKcmyk(0%, 6.7%, 95.6%, 82.4%)
CIE-LABlab(16.59, -4.29, 23.11)
CIE-LCHlch(16.59, 23.51, 100.51°)
OKLaboklab(27.95% -0.0149 0.0551)
OKLCHoklch(27.95% 0.057 105.2)
XYZxyz(1.9212, 2.2183, 0.3844)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A02 #02052D
analogous
#2D1502 #2D2A02 #1B2D02
triadic
#2D2A02 #022D2A #2A022D
tetradic
#2D2A02 #022D15 #02052D #2D021B
square
#2D2A02 #022D15 #02052D #2D021B
split-complementary
#2D2A02 #021B2D #15022D
monochromatic
#1D1B01 #1D1B01 #2D2A02 #686105 #A29707

Accessibility & contrast

On white

14.55
#2D2A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2D2A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A02
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A02#FFFFFF#000000##FFFFFF
##2D2A021.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#302A04
Tritanopia (blue-blind)
#312622
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d2a02;
/* rgb */ color: rgb(45, 42, 2);
/* oklch */ color: oklch(28.0% 0.057 105.2);
Tailwind
colors: {
  custom: {
    50: '#676348',
    500: '#2d2a02',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a02;
$custom-light: #676348;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a02",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 55.814,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27951,
    "c": 0.05708,
    "h": 105.2
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#2D2A02
secondary
#191F72
accent
#38FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2A02

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

Preview Lab → · Contrast checker → · Palette generator →

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