#2D3105#2D3105

#2D3105 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 29.9% C 0.063 H 114.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#2D3105
RGBrgb(45, 49, 5)
HSLhsl(65, 81%, 11%)
HSVhsv(65, 90%, 19%)
CMYKcmyk(8.2%, 0%, 89.8%, 80.8%)
CIE-LABlab(19.08, -8.54, 24.87)
CIE-LCHlch(19.08, 26.30, 108.94°)
OKLaboklab(29.95% -0.0262 0.0568)
OKLCHoklch(29.95% 0.063 114.8)
XYZxyz(2.2080, 2.7655, 0.5610)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3105 #090531
analogous
#311F05 #2D3105 #173105
triadic
#2D3105 #052D31 #31052D
tetradic
#2D3105 #05311F #090531 #310517
square
#2D3105 #05311F #090531 #310517
split-complementary
#2D3105 #051731 #1F0531
monochromatic
#191C03 #191C03 #2D3105 #60690B #93A010

Accessibility & contrast

On white

13.52
#2D3105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3105
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3105#FFFFFF#000000##FFFFFF
##2D31051.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#352F08
Tritanopia (blue-blind)
#312D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d3105;
/* rgb */ color: rgb(45, 49, 5);
/* oklch */ color: oklch(29.9% 0.063 114.8);
Tailwind
colors: {
  custom: {
    50: '#676849',
    500: '#2d3105',
    950: '#000000',
  },
}
SCSS
$custom: #2d3105;
$custom-light: #676849;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3105",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 5
  },
  "hsl": {
    "h": 65.455,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29948,
    "c": 0.06256,
    "h": 114.8
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#2D3105
secondary
#271F72
accent
#30F842
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3105

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

Preview Lab → · Contrast checker → · Palette generator →

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