#2E2F12#2E2F12

#2E2F12 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.6% C 0.046 H 110.7°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#2E2F12
RGBrgb(46, 47, 18)
HSLhsl(62, 45%, 13%)
HSVhsv(62, 62%, 18%)
CMYKcmyk(2.1%, 0%, 61.7%, 81.6%)
CIE-LABlab(18.62, -5.59, 18.27)
CIE-LCHlch(18.62, 19.11, 107.01°)
OKLaboklab(29.65% -0.0162 0.0431)
OKLCHoklch(29.65% 0.046 110.7)
XYZxyz(2.2525, 2.6576, 0.9665)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F12 #13122F
analogous
#2F2112 #2E2F12 #1F2F12
triadic
#2E2F12 #122E2F #2F122E
tetradic
#2E2F12 #122F21 #13122F #2F121F
square
#2E2F12 #122F21 #13122F #2F121F
split-complementary
#2E2F12 #121F2F #21122F
monochromatic
#161608 #161608 #2E2F12 #595B23 #858834

Accessibility & contrast

On white

13.71
#2E2F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2E2F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F12
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F12#FFFFFF#000000##FFFFFF
##2E2F121.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0F
Deuteranopia (green-blind)
#332E14
Tritanopia (blue-blind)
#312C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2f12;
/* rgb */ color: rgb(46, 47, 18);
/* oklch */ color: oklch(29.6% 0.046 110.7);
Tailwind
colors: {
  custom: {
    50: '#686750',
    500: '#2e2f12',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f12;
$custom-light: #686750;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f12",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 62.069,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29648,
    "c": 0.04601,
    "h": 110.7
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#2E2F12
secondary
#383667
accent
#53D458
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E2F12

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

Preview Lab → · Contrast checker → · Palette generator →

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