#2D3303#2D3303

#2D3303 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.067 H 116.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#2D3303
RGBrgb(45, 51, 3)
HSLhsl(68, 89%, 11%)
HSVhsv(68, 94%, 20%)
CMYKcmyk(11.8%, 0%, 94.1%, 80%)
CIE-LABlab(19.77, -9.93, 26.48)
CIE-LCHlch(19.77, 28.28, 110.55°)
OKLaboklab(30.5% -0.0303 0.0599)
OKLCHoklch(30.5% 0.067 116.9)
XYZxyz(2.2825, 2.9321, 0.5318)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3303 #090333
analogous
#332103 #2D3303 #153303
triadic
#2D3303 #032D33 #33032D
tetradic
#2D3303 #033321 #090333 #330315
square
#2D3303 #033321 #090333 #330315
split-complementary
#2D3303 #031533 #210333
monochromatic
#1A1D02 #1A1D02 #2D3303 #606D06 #93A70A

Accessibility & contrast

On white

13.24
#2D3303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2D3303 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3303
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3303#FFFFFF#000000##FFFFFF
##2D33031.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373000
Deuteranopia (green-blind)
#373007
Tritanopia (blue-blind)
#312F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d3303;
/* rgb */ color: rgb(45, 51, 3);
/* oklch */ color: oklch(30.5% 0.067 116.9);
Tailwind
colors: {
  custom: {
    50: '#686a49',
    500: '#2d3303',
    950: '#000000',
  },
}
SCSS
$custom: #2d3303;
$custom-light: #686a49;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3303",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 3
  },
  "hsl": {
    "h": 67.5,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30498,
    "c": 0.06715,
    "h": 116.9
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#2D3303
secondary
#271C76
accent
#29FF44
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3303

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

Preview Lab → · Contrast checker → · Palette generator →

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