#2E3228#2E3228

#2E3228 is a dark, near-neutral yellow-green. Relative luminance 0.030; OKLCH L 31.0% C 0.018 H 125.2°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2E3228
RGBrgb(46, 50, 40)
HSLhsl(84, 11%, 18%)
HSVhsv(84, 20%, 20%)
CMYKcmyk(8%, 0%, 20%, 80.4%)
CIE-LABlab(20.10, -4.00, 5.79)
CIE-LCHlch(20.10, 7.04, 124.66°)
OKLaboklab(30.98% -0.0105 0.0149)
OKLCHoklch(30.98% 0.018 125.2)
XYZxyz(2.6503, 3.0152, 2.4494)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3228 #2C2832
analogous
#323128 #2E3228 #293228
triadic
#2E3228 #282E32 #32282E
tetradic
#2E3228 #283231 #2C2832 #322829
square
#2E3228 #283231 #2C2832 #322829
split-complementary
#2E3228 #282932 #312832
monochromatic
#10110E #10110E #2E3228 #4D5443 #6D765E

Accessibility & contrast

On white

13.10
#2E3228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3228
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3228#FFFFFF#000000##FFFFFF
##2E32281.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333127
Deuteranopia (green-blind)
#333028
Tritanopia (blue-blind)
#2F312F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e3228;
/* rgb */ color: rgb(46, 50, 40);
/* oklch */ color: oklch(31.0% 0.018 125.2);
Tailwind
colors: {
  custom: {
    50: '#666961',
    500: '#2e3228',
    950: '#000000',
  },
}
SCSS
$custom: #2e3228;
$custom-light: #666961;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3228",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 84,
    "s": 11.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3098,
    "c": 0.01825,
    "h": 125.2
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#2E3228
secondary
#595462
accent
#74B48D
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2E3228

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

Preview Lab → · Contrast checker → · Palette generator →

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