#2E2906#2E2906

#2E2906 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.051 H 101.1°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#2E2906
RGBrgb(46, 41, 6)
HSLhsl(53, 77%, 10%)
HSVhsv(53, 87%, 18%)
CMYKcmyk(0%, 10.9%, 87%, 82%)
CIE-LABlab(16.40, -2.74, 21.27)
CIE-LCHlch(16.40, 21.45, 97.33°)
OKLaboklab(27.84% -0.0099 0.0505)
OKLCHoklch(27.84% 0.051 101.1)
XYZxyz(1.9526, 2.1800, 0.4902)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2906 #060B2E
analogous
#2E1506 #2E2906 #1F2E06
triadic
#2E2906 #062E29 #29062E
tetradic
#2E2906 #062E15 #060B2E #2E061F
square
#2E2906 #062E15 #060B2E #2E061F
split-complementary
#2E2906 #061F2E #15062E
monochromatic
#1B1804 #1B1804 #2E2906 #64590D #9A8A14

Accessibility & contrast

On white

14.62
#2E2906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2E2906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2906
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2906#FFFFFF#000000##FFFFFF
##2E29061.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2702
Deuteranopia (green-blind)
#2F2908
Tritanopia (blue-blind)
#322522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2906;
/* rgb */ color: rgb(46, 41, 6);
/* oklch */ color: oklch(27.8% 0.051 101.1);
Tailwind
colors: {
  custom: {
    50: '#686249',
    500: '#2e2906',
    950: '#000000',
  },
}
SCSS
$custom: #2e2906;
$custom-light: #686249;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2906",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 52.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27842,
    "c": 0.05149,
    "h": 101.1
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#2E2906
secondary
#212B6F
accent
#4CF334
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E2906

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

Preview Lab → · Contrast checker → · Palette generator →

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