#2E331E#2E331E

#2E331E is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 31.0% C 0.036 H 119.4°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#2E331E
RGBrgb(46, 51, 30)
HSLhsl(74, 26%, 16%)
HSVhsv(74, 41%, 20%)
CMYKcmyk(9.8%, 0%, 41.2%, 80%)
CIE-LABlab(20.21, -6.50, 12.63)
CIE-LCHlch(20.21, 14.21, 117.24°)
OKLaboklab(30.99% -0.0176 0.0313)
OKLCHoklch(30.99% 0.036 119.4)
XYZxyz(2.5449, 3.0422, 1.6812)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E331E #231E33
analogous
#332D1E #2E331E #23331E
triadic
#2E331E #1E2E33 #331E2E
tetradic
#2E331E #1E332D #231E33 #331E23
square
#2E331E #1E332D #231E33 #331E23
split-complementary
#2E331E #1E2333 #2D1E33
monochromatic
#11130B #11130B #2E331E #515A35 #74804B

Accessibility & contrast

On white

13.06
#2E331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E331E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E331E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E331E#FFFFFF#000000##FFFFFF
##2E331E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311D
Deuteranopia (green-blind)
#35311F
Tritanopia (blue-blind)
#30312E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e331e;
/* rgb */ color: rgb(46, 51, 30);
/* oklch */ color: oklch(31.0% 0.036 119.4);
Tailwind
colors: {
  custom: {
    50: '#676a5a',
    500: '#2e331e',
    950: '#000000',
  },
}
SCSS
$custom: #2e331e;
$custom-light: #676a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e331e",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 74.286,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30988,
    "c": 0.03591,
    "h": 119.4
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#2E331E
secondary
#4E4766
accent
#65C27C
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2E331E

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

Preview Lab → · Contrast checker → · Palette generator →

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