#2E331B#2E331B

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

Color values

HEX#2E331B
RGBrgb(46, 51, 27)
HSLhsl(73, 31%, 15%)
HSVhsv(73, 47%, 20%)
CMYKcmyk(9.8%, 0%, 47.1%, 80%)
CIE-LABlab(20.15, -6.97, 14.51)
CIE-LCHlch(20.15, 16.10, 115.67°)
OKLaboklab(30.92% -0.0192 0.0355)
OKLCHoklch(30.92% 0.04 118.4)
XYZxyz(2.5084, 3.0276, 1.4889)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E331B #201B33
analogous
#332C1B #2E331B #22331B
triadic
#2E331B #1B2E33 #331B2E
tetradic
#2E331B #1B332C #201B33 #331B22
square
#2E331B #1B332C #201B33 #331B22
split-complementary
#2E331B #1B2233 #2C1B33
monochromatic
#12140B #12140B #2E331B #525B30 #768345

Accessibility & contrast

On white

13.08
#2E331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E331B
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E331B#FFFFFF#000000##FFFFFF
##2E331B1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e331b;
/* rgb */ color: rgb(46, 51, 27);
/* oklch */ color: oklch(30.9% 0.040 118.4);
Tailwind
colors: {
  custom: {
    50: '#676a57',
    500: '#2e331b',
    950: '#000000',
  },
}
SCSS
$custom: #2e331b;
$custom-light: #676a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e331b",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 72.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30923,
    "c": 0.04031,
    "h": 118.4
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#2E331B
secondary
#4A4367
accent
#61C776
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2E331B

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

Preview Lab → · Contrast checker → · Palette generator →

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