#2D2903#2D2903

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

Color values

HEX#2D2903
RGBrgb(45, 41, 3)
HSLhsl(54, 88%, 9%)
HSVhsv(54, 93%, 18%)
CMYKcmyk(0%, 8.9%, 93.3%, 82.4%)
CIE-LABlab(16.26, -3.54, 22.29)
CIE-LCHlch(16.26, 22.57, 99.03°)
OKLaboklab(27.69% -0.0127 0.0534)
OKLCHoklch(27.69% 0.055 103.3)
XYZxyz(1.8917, 2.1504, 0.4016)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2903 #03072D
analogous
#2D1403 #2D2903 #1C2D03
triadic
#2D2903 #032D29 #29032D
tetradic
#2D2903 #032D14 #03072D #2D031C
square
#2D2903 #032D14 #03072D #2D031C
split-complementary
#2D2903 #031C2D #14032D
monochromatic
#1D1A02 #1D1A02 #2D2903 #665D07 #A0920B

Accessibility & contrast

On white

14.69
#2D2903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2D2903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2903
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2903#FFFFFF#000000##FFFFFF
##2D29031.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2F2905
Tritanopia (blue-blind)
#312522
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d2903;
/* rgb */ color: rgb(45, 41, 3);
/* oklch */ color: oklch(27.7% 0.055 103.3);
Tailwind
colors: {
  custom: {
    50: '#676248',
    500: '#2d2903',
    950: '#000000',
  },
}
SCSS
$custom: #2d2903;
$custom-light: #676248;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2903",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 3
  },
  "hsl": {
    "h": 54.286,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27688,
    "c": 0.05486,
    "h": 103.3
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#2D2903
secondary
#1B2371
accent
#3EFE2A
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2903

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

Preview Lab → · Contrast checker → · Palette generator →

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