#2D2E12#2D2E12

#2D2E12 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.3% C 0.045 H 110.7°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#2D2E12
RGBrgb(45, 46, 18)
HSLhsl(62, 44%, 13%)
HSVhsv(62, 61%, 18%)
CMYKcmyk(2.2%, 0%, 60.9%, 82%)
CIE-LABlab(18.17, -5.47, 17.72)
CIE-LCHlch(18.17, 18.54, 107.15°)
OKLaboklab(29.27% -0.0158 0.0419)
OKLCHoklch(29.27% 0.045 110.7)
XYZxyz(2.1684, 2.5556, 0.9512)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E12 #13122E
analogous
#2E2112 #2D2E12 #1F2E12
triadic
#2D2E12 #122D2E #2E122D
tetradic
#2D2E12 #122E21 #13122E #2E121F
square
#2D2E12 #122E21 #13122E #2E121F
split-complementary
#2D2E12 #121F2E #21122E
monochromatic
#161609 #161609 #2D2E12 #585A23 #838634

Accessibility & contrast

On white

13.90
#2D2E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2D2E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E12
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E12#FFFFFF#000000##FFFFFF
##2D2E121.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0F
Deuteranopia (green-blind)
#322D13
Tritanopia (blue-blind)
#302B28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2d2e12;
/* rgb */ color: rgb(45, 46, 18);
/* oklch */ color: oklch(29.3% 0.045 110.7);
Tailwind
colors: {
  custom: {
    50: '#676650',
    500: '#2d2e12',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e12;
$custom-light: #676650;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e12",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 62.143,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29265,
    "c": 0.04475,
    "h": 110.7
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#2D2E12
secondary
#383666
accent
#54D359
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D2E12

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

Preview Lab → · Contrast checker → · Palette generator →

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