#2D310A#2D310A

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

Color values

HEX#2D310A
RGBrgb(45, 49, 10)
HSLhsl(66, 66%, 12%)
HSVhsv(66, 80%, 19%)
CMYKcmyk(8.2%, 0%, 79.6%, 80.8%)
CIE-LABlab(19.13, -8.15, 22.89)
CIE-LCHlch(19.13, 24.30, 109.60°)
OKLaboklab(30% -0.0244 0.0525)
OKLCHoklch(30% 0.058 115)
XYZxyz(2.2353, 2.7765, 0.7053)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D310A #0E0A31
analogous
#31220A #2D310A #1A310A
triadic
#2D310A #0A2D31 #310A2D
tetradic
#2D310A #0A3122 #0E0A31 #310A1A
square
#2D310A #0A3122 #0E0A31 #310A1A
split-complementary
#2D310A #0A1A31 #220A31
monochromatic
#171905 #171905 #2D310A #5C6414 #8A971F

Accessibility & contrast

On white

13.50
#2D310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D310A
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D310A#FFFFFF#000000##FFFFFF
##2D310A1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d310a;
/* rgb */ color: rgb(45, 49, 10);
/* oklch */ color: oklch(30.0% 0.058 115.0);
Tailwind
colors: {
  custom: {
    50: '#67694c',
    500: '#2d310a',
    950: '#000000',
  },
}
SCSS
$custom: #2d310a;
$custom-light: #67694c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d310a",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 66.154,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.3,
    "c": 0.05789,
    "h": 115
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#2D310A
secondary
#30296E
accent
#3FE950
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D310A

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

Preview Lab → · Contrast checker → · Palette generator →

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