#2D310D#2D310D

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

Color values

HEX#2D310D
RGBrgb(45, 49, 13)
HSLhsl(67, 58%, 12%)
HSVhsv(67, 73%, 19%)
CMYKcmyk(8.2%, 0%, 73.5%, 80.8%)
CIE-LABlab(19.16, -7.90, 21.59)
CIE-LCHlch(19.16, 22.99, 110.09°)
OKLaboklab(30.03% -0.0233 0.0498)
OKLCHoklch(30.03% 0.055 115.1)
XYZxyz(2.2532, 2.7836, 0.7993)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D310D #110D31
analogous
#31230D #2D310D #1B310D
triadic
#2D310D #0D2D31 #310D2D
tetradic
#2D310D #0D3123 #110D31 #310D1B
square
#2D310D #0D3123 #110D31 #310D1B
split-complementary
#2D310D #0D1B31 #230D31
monochromatic
#161806 #161806 #2D310D #59611A #869227

Accessibility & contrast

On white

13.49
#2D310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2D310D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D310D
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D310D#FFFFFF#000000##FFFFFF
##2D310D1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E09
Deuteranopia (green-blind)
#352F0F
Tritanopia (blue-blind)
#302E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d310d;
/* rgb */ color: rgb(45, 49, 13);
/* oklch */ color: oklch(30.0% 0.055 115.1);
Tailwind
colors: {
  custom: {
    50: '#67694d',
    500: '#2d310d',
    950: '#000000',
  },
}
SCSS
$custom: #2d310d;
$custom-light: #67694d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d310d",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 66.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30034,
    "c": 0.05498,
    "h": 115.1
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#2D310D
secondary
#352E6C
accent
#47E158
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D310D

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

Preview Lab → · Contrast checker → · Palette generator →

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