#2D3309#2D3309

#2D3309 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.6% C 0.062 H 117.3°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#2D3309
RGBrgb(45, 51, 9)
HSLhsl(69, 70%, 12%)
HSVhsv(69, 82%, 20%)
CMYKcmyk(11.8%, 0%, 82.4%, 80%)
CIE-LABlab(19.82, -9.47, 24.10)
CIE-LCHlch(19.82, 25.89, 111.45°)
OKLaboklab(30.56% -0.0282 0.0548)
OKLCHoklch(30.56% 0.062 117.3)
XYZxyz(2.3154, 2.9453, 0.7049)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3309 #0F0933
analogous
#332409 #2D3309 #183309
triadic
#2D3309 #092D33 #33092D
tetradic
#2D3309 #093324 #0F0933 #330918
square
#2D3309 #093324 #0F0933 #330918
split-complementary
#2D3309 #091833 #240933
monochromatic
#171A05 #171A05 #2D3309 #5B6712 #899B1B

Accessibility & contrast

On white

13.22
#2D3309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3309
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3309#FFFFFF#000000##FFFFFF
##2D33091.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373004
Deuteranopia (green-blind)
#36300C
Tritanopia (blue-blind)
#30302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d3309;
/* rgb */ color: rgb(45, 51, 9);
/* oklch */ color: oklch(30.6% 0.062 117.3);
Tailwind
colors: {
  custom: {
    50: '#676a4c',
    500: '#2d3309',
    950: '#000000',
  },
}
SCSS
$custom: #2d3309;
$custom-light: #676a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3309",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 9
  },
  "hsl": {
    "h": 68.571,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30558,
    "c": 0.06167,
    "h": 117.3
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#2D3309
secondary
#312771
accent
#3BED54
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3309

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

Preview Lab → · Contrast checker → · Palette generator →

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