#2D3104#2D3104

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

Color values

HEX#2D3104
RGBrgb(45, 49, 4)
HSLhsl(65, 85%, 10%)
HSVhsv(65, 92%, 19%)
CMYKcmyk(8.2%, 0%, 91.8%, 80.8%)
CIE-LABlab(19.07, -8.61, 25.27)
CIE-LCHlch(19.07, 26.70, 108.83°)
OKLaboklab(29.94% -0.0266 0.0577)
OKLCHoklch(29.94% 0.064 114.7)
XYZxyz(2.2025, 2.7633, 0.5322)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3104 #080431
analogous
#311E04 #2D3104 #163104
triadic
#2D3104 #042D31 #31042D
tetradic
#2D3104 #04311E #080431 #310416
square
#2D3104 #04311E #080431 #310416
split-complementary
#2D3104 #041631 #1E0431
monochromatic
#1A1C02 #1A1C02 #2D3104 #616A09 #95A20D

Accessibility & contrast

On white

13.53
#2D3104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3104
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3104#FFFFFF#000000##FFFFFF
##2D31041.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3104;
/* rgb */ color: rgb(45, 49, 4);
/* oklch */ color: oklch(29.9% 0.064 114.7);
Tailwind
colors: {
  custom: {
    50: '#676849',
    500: '#2d3104',
    950: '#000000',
  },
}
SCSS
$custom: #2d3104;
$custom-light: #676849;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3104",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 65.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29938,
    "c": 0.06353,
    "h": 114.7
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#2D3104
secondary
#251D73
accent
#2DFB3F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3104

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

Preview Lab → · Contrast checker → · Palette generator →

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