#2E2D12#2E2D12

#2E2D12 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.043 H 106.9°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#2E2D12
RGBrgb(46, 45, 18)
HSLhsl(58, 44%, 13%)
HSVhsv(58, 61%, 18%)
CMYKcmyk(0%, 2.2%, 60.9%, 82%)
CIE-LABlab(17.92, -4.29, 17.45)
CIE-LCHlch(17.92, 17.97, 103.81°)
OKLaboklab(29.1% -0.0125 0.0413)
OKLCHoklch(29.1% 0.043 106.9)
XYZxyz(2.1743, 2.5013, 0.9404)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D12 #12132E
analogous
#2E1F12 #2E2D12 #212E12
triadic
#2E2D12 #122E2D #2D122E
tetradic
#2E2D12 #122E1F #12132E #2E1221
square
#2E2D12 #122E1F #12132E #2E1221
split-complementary
#2E2D12 #12212E #1F122E
monochromatic
#161609 #161609 #2E2D12 #5A5823 #868334

Accessibility & contrast

On white

14.00
#2E2D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2E2D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D12
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D12#FFFFFF#000000##FFFFFF
##2E2D121.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B10
Deuteranopia (green-blind)
#312C13
Tritanopia (blue-blind)
#312A27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2e2d12;
/* rgb */ color: rgb(46, 45, 18);
/* oklch */ color: oklch(29.1% 0.043 106.9);
Tailwind
colors: {
  custom: {
    50: '#676550',
    500: '#2e2d12',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d12;
$custom-light: #676550;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d12",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 57.857,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29096,
    "c": 0.04313,
    "h": 106.9
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#2E2D12
secondary
#363866
accent
#59D354
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #2E2D12

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

Preview Lab → · Contrast checker → · Palette generator →

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