#2E331C#2E331C

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

Color values

HEX#2E331C
RGBrgb(46, 51, 28)
HSLhsl(73, 29%, 15%)
HSVhsv(73, 45%, 20%)
CMYKcmyk(9.8%, 0%, 45.1%, 80%)
CIE-LABlab(20.17, -6.82, 13.89)
CIE-LCHlch(20.17, 15.47, 116.17°)
OKLaboklab(30.94% -0.0187 0.0341)
OKLCHoklch(30.94% 0.039 118.7)
XYZxyz(2.5201, 3.0323, 1.5509)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E331C #211C33
analogous
#332C1C #2E331C #22331C
triadic
#2E331C #1C2E33 #331C2E
tetradic
#2E331C #1C332C #211C33 #331C22
square
#2E331C #1C332C #211C33 #331C22
split-complementary
#2E331C #1C2233 #2C1C33
monochromatic
#12140B #12140B #2E331C #525B32 #758247

Accessibility & contrast

On white

13.07
#2E331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E331C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E331C#FFFFFF#000000##FFFFFF
##2E331C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e331c;
/* rgb */ color: rgb(46, 51, 28);
/* oklch */ color: oklch(30.9% 0.039 118.7);
Tailwind
colors: {
  custom: {
    50: '#676a58',
    500: '#2e331c',
    950: '#000000',
  },
}
SCSS
$custom: #2e331c;
$custom-light: #676a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e331c",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 73.043,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30944,
    "c": 0.03887,
    "h": 118.7
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#2E331C
secondary
#4C4467
accent
#62C578
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2E331C

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

Preview Lab → · Contrast checker → · Palette generator →

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