#2E331F#2E331F

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

Color values

HEX#2E331F
RGBrgb(46, 51, 31)
HSLhsl(75, 24%, 16%)
HSVhsv(75, 39%, 20%)
CMYKcmyk(9.8%, 0%, 39.2%, 80%)
CIE-LABlab(20.23, -6.34, 12.00)
CIE-LCHlch(20.23, 13.57, 117.84°)
OKLaboklab(31.01% -0.0171 0.0298)
OKLCHoklch(31.01% 0.034 119.9)
XYZxyz(2.5579, 3.0474, 1.7495)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E331F #241F33
analogous
#332E1F #2E331F #24331F
triadic
#2E331F #1F2E33 #331F2E
tetradic
#2E331F #1F332E #241F33 #331F24
square
#2E331F #1F332E #241F33 #331F24
split-complementary
#2E331F #1F2433 #2E1F33
monochromatic
#11130C #11130C #2E331F #505936 #737F4D

Accessibility & contrast

On white

13.05
#2E331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E331F
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E331F#FFFFFF#000000##FFFFFF
##2E331F1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e331f;
/* rgb */ color: rgb(46, 51, 31);
/* oklch */ color: oklch(31.0% 0.034 119.9);
Tailwind
colors: {
  custom: {
    50: '#676a5a',
    500: '#2e331f',
    950: '#000000',
  },
}
SCSS
$custom: #2e331f;
$custom-light: #676a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e331f",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 75,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31011,
    "c": 0.03441,
    "h": 119.9
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#2E331F
secondary
#4F4866
accent
#67C17D
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #2E331F

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

Preview Lab → · Contrast checker → · Palette generator →

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