#2D2802#2D2802

#2D2802 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.055 H 101.8°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#2D2802
RGBrgb(45, 40, 2)
HSLhsl(53, 91%, 9%)
HSVhsv(53, 96%, 18%)
CMYKcmyk(0%, 11.1%, 95.6%, 82.4%)
CIE-LABlab(15.90, -2.96, 22.25)
CIE-LCHlch(15.90, 22.44, 97.58°)
OKLaboklab(27.4% -0.0112 0.0538)
OKLCHoklch(27.4% 0.055 101.8)
XYZxyz(1.8520, 2.0799, 0.3613)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2802 #02072D
analogous
#2D1302 #2D2802 #1D2D02
triadic
#2D2802 #022D28 #28022D
tetradic
#2D2802 #022D13 #02072D #2D021D
square
#2D2802 #022D13 #02072D #2D021D
split-complementary
#2D2802 #021D2D #13022D
monochromatic
#1D1A01 #1D1A01 #2D2802 #685C05 #A29007

Accessibility & contrast

On white

14.83
#2D2802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2D2802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2802
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2802#FFFFFF#000000##FFFFFF
##2D28021.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2E2804
Tritanopia (blue-blind)
#312421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2802;
/* rgb */ color: rgb(45, 40, 2);
/* oklch */ color: oklch(27.4% 0.055 101.8);
Tailwind
colors: {
  custom: {
    50: '#676147',
    500: '#2d2802',
    950: '#000000',
  },
}
SCSS
$custom: #2d2802;
$custom-light: #676147;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2802",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 53.023,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27401,
    "c": 0.05499,
    "h": 101.8
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#2D2802
secondary
#192372
accent
#42FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2802

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

Preview Lab → · Contrast checker → · Palette generator →

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