#2E331A#2E331A

#2E331A is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.9% C 0.042 H 118.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2E331A
RGBrgb(46, 51, 26)
HSLhsl(72, 32%, 15%)
HSVhsv(72, 49%, 20%)
CMYKcmyk(9.8%, 0%, 49%, 80%)
CIE-LABlab(20.14, -7.12, 15.13)
CIE-LCHlch(20.14, 16.72, 115.21°)
OKLaboklab(30.9% -0.0197 0.0368)
OKLCHoklch(30.9% 0.042 118.2)
XYZxyz(2.4970, 3.0231, 1.4291)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E331A #1F1A33
analogous
#332B1A #2E331A #21331A
triadic
#2E331A #1A2E33 #331A2E
tetradic
#2E331A #1A332B #1F1A33 #331A21
square
#2E331A #1A332B #1F1A33 #331A21
split-complementary
#2E331A #1A2133 #2B1A33
monochromatic
#12140A #12140A #2E331A #535C2F #778443

Accessibility & contrast

On white

13.09
#2E331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E331A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E331A#FFFFFF#000000##FFFFFF
##2E331A1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363118
Deuteranopia (green-blind)
#35311B
Tritanopia (blue-blind)
#30312D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e331a;
/* rgb */ color: rgb(46, 51, 26);
/* oklch */ color: oklch(30.9% 0.042 118.2);
Tailwind
colors: {
  custom: {
    50: '#676a57',
    500: '#2e331a',
    950: '#000000',
  },
}
SCSS
$custom: #2e331a;
$custom-light: #676a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e331a",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 72,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.30902,
    "c": 0.04174,
    "h": 118.2
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#2E331A
secondary
#494168
accent
#5FC974
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2E331A

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

Preview Lab → · Contrast checker → · Palette generator →

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