#2D3308#2D3308

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

Color values

HEX#2D3308
RGBrgb(45, 51, 8)
HSLhsl(68, 73%, 12%)
HSVhsv(68, 84%, 20%)
CMYKcmyk(11.8%, 0%, 84.3%, 80%)
CIE-LABlab(19.81, -9.54, 24.49)
CIE-LCHlch(19.81, 26.29, 111.29°)
OKLaboklab(30.55% -0.0286 0.0556)
OKLCHoklch(30.55% 0.063 117.2)
XYZxyz(2.3099, 2.9431, 0.6761)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3308 #0E0833
analogous
#332408 #2D3308 #183308
triadic
#2D3308 #082D33 #33082D
tetradic
#2D3308 #083324 #0E0833 #330818
square
#2D3308 #083324 #0E0833 #330818
split-complementary
#2D3308 #081833 #240833
monochromatic
#171A04 #171A04 #2D3308 #5C6810 #8A9D19

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3308#FFFFFF#000000##FFFFFF
##2D33081.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)
#373003
Deuteranopia (green-blind)
#37300B
Tritanopia (blue-blind)
#30302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d3308;
/* rgb */ color: rgb(45, 51, 8);
/* oklch */ color: oklch(30.5% 0.063 117.2);
Tailwind
colors: {
  custom: {
    50: '#676a4b',
    500: '#2d3308',
    950: '#000000',
  },
}
SCSS
$custom: #2d3308;
$custom-light: #676a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3308",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 68.372,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30548,
    "c": 0.06255,
    "h": 117.2
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#2D3308
secondary
#302572
accent
#38F052
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3308

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

Preview Lab → · Contrast checker → · Palette generator →

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