#2D310E#2D310E

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

Color values

HEX#2D310E
RGBrgb(45, 49, 14)
HSLhsl(67, 56%, 12%)
HSVhsv(67, 71%, 19%)
CMYKcmyk(8.2%, 0%, 71.4%, 80.8%)
CIE-LABlab(19.17, -7.81, 21.12)
CIE-LCHlch(19.17, 22.51, 110.29°)
OKLaboklab(30.05% -0.023 0.0488)
OKLCHoklch(30.05% 0.054 115.2)
XYZxyz(2.2598, 2.7863, 0.8341)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D310E #120E31
analogous
#31240E #2D310E #1C310E
triadic
#2D310E #0E2D31 #310E2D
tetradic
#2D310E #0E3124 #120E31 #310E1C
square
#2D310E #0E3124 #120E31 #310E1C
split-complementary
#2D310E #0E1C31 #240E31
monochromatic
#161807 #161807 #2D310E #59611C #849029

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D310E#FFFFFF#000000##FFFFFF
##2D310E1.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)
#352E0A
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#302E2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d310e;
/* rgb */ color: rgb(45, 49, 14);
/* oklch */ color: oklch(30.0% 0.054 115.2);
Tailwind
colors: {
  custom: {
    50: '#67694e',
    500: '#2d310e',
    950: '#000000',
  },
}
SCSS
$custom: #2d310e;
$custom-light: #67694e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d310e",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 66.857,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30047,
    "c": 0.05393,
    "h": 115.2
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#2D310E
secondary
#362F6C
accent
#49DF5A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D310E

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

Preview Lab → · Contrast checker → · Palette generator →

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