#2E3311#2E3311

#2E3311 is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.7% C 0.053 H 116.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#2E3311
RGBrgb(46, 51, 17)
HSLhsl(69, 50%, 13%)
HSVhsv(69, 67%, 20%)
CMYKcmyk(9.8%, 0%, 66.7%, 80%)
CIE-LABlab(20.00, -8.24, 20.46)
CIE-LCHlch(20.00, 22.06, 111.94°)
OKLaboklab(30.75% -0.0239 0.0477)
OKLCHoklch(30.75% 0.053 116.6)
XYZxyz(2.4118, 2.9890, 0.9801)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3311 #161133
analogous
#332711 #2E3311 #1D3311
triadic
#2E3311 #112E33 #33112E
tetradic
#2E3311 #113327 #161133 #33111D
square
#2E3311 #113327 #161133 #33111D
split-complementary
#2E3311 #111D33 #271133
monochromatic
#151708 #151708 #2E3311 #576120 #818F30

Accessibility & contrast

On white

13.14
#2E3311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E3311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3311
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3311#FFFFFF#000000##FFFFFF
##2E33111.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300D
Deuteranopia (green-blind)
#363113
Tritanopia (blue-blind)
#31302C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e3311;
/* rgb */ color: rgb(46, 51, 17);
/* oklch */ color: oklch(30.7% 0.053 116.6);
Tailwind
colors: {
  custom: {
    50: '#686a50',
    500: '#2e3311',
    950: '#000000',
  },
}
SCSS
$custom: #2e3311;
$custom-light: #686a50;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3311",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 17
  },
  "hsl": {
    "h": 68.824,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30749,
    "c": 0.0533,
    "h": 116.6
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#2E3311
secondary
#3C346C
accent
#4EDA63
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E3311

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

Preview Lab → · Contrast checker → · Palette generator →

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