#2D3108#2D3108

#2D3108 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.0% C 0.060 H 114.9°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#2D3108
RGBrgb(45, 49, 8)
HSLhsl(66, 72%, 11%)
HSVhsv(66, 84%, 19%)
CMYKcmyk(8.2%, 0%, 83.7%, 80.8%)
CIE-LABlab(19.11, -8.30, 23.68)
CIE-LCHlch(19.11, 25.09, 109.32°)
OKLaboklab(29.98% -0.0251 0.0542)
OKLCHoklch(29.98% 0.06 114.9)
XYZxyz(2.2244, 2.7721, 0.6476)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3108 #0C0831
analogous
#312008 #2D3108 #183108
triadic
#2D3108 #082D31 #31082D
tetradic
#2D3108 #083120 #0C0831 #310818
square
#2D3108 #083120 #0C0831 #310818
split-complementary
#2D3108 #081831 #200831
monochromatic
#181A04 #181A04 #2D3108 #5D6611 #8E9A19

Accessibility & contrast

On white

13.51
#2D3108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2D3108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3108
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3108#FFFFFF#000000##FFFFFF
##2D31081.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E03
Deuteranopia (green-blind)
#352F0B
Tritanopia (blue-blind)
#312E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d3108;
/* rgb */ color: rgb(45, 49, 8);
/* oklch */ color: oklch(30.0% 0.060 114.9);
Tailwind
colors: {
  custom: {
    50: '#67684b',
    500: '#2d3108',
    950: '#000000',
  },
}
SCSS
$custom: #2d3108;
$custom-light: #67684b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3108",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 8
  },
  "hsl": {
    "h": 65.854,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2998,
    "c": 0.05972,
    "h": 114.9
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#2D3108
secondary
#2C2570
accent
#39EF4B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3108

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

Preview Lab → · Contrast checker → · Palette generator →

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