#2E3028#2E3028

#2E3028 is a dark, near-neutral yellow-green. Relative luminance 0.028; OKLCH L 30.4% C 0.014 H 118.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#2E3028
RGBrgb(46, 48, 40)
HSLhsl(75, 9%, 17%)
HSVhsv(75, 17%, 19%)
CMYKcmyk(4.2%, 0%, 16.7%, 81.2%)
CIE-LABlab(19.42, -2.69, 4.83)
CIE-LCHlch(19.42, 5.53, 119.06°)
OKLaboklab(30.44% -0.0068 0.0125)
OKLCHoklch(30.44% 0.014 118.7)
XYZxyz(2.5666, 2.8480, 2.4216)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3028 #2A2830
analogous
#302E28 #2E3028 #2A3028
triadic
#2E3028 #282E30 #30282E
tetradic
#2E3028 #28302E #2A2830 #30282A
square
#2E3028 #28302E #2A2830 #30282A
split-complementary
#2E3028 #282A30 #2E2830
monochromatic
#10110E #10110E #2E3028 #4E5144 #6E7360

Accessibility & contrast

On white

13.38
#2E3028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2E3028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3028
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3028#FFFFFF#000000##FFFFFF
##2E30281.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312F28
Deuteranopia (green-blind)
#312F28
Tritanopia (blue-blind)
#2F2F2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e3028;
/* rgb */ color: rgb(46, 48, 40);
/* oklch */ color: oklch(30.4% 0.014 118.7);
Tailwind
colors: {
  custom: {
    50: '#666861',
    500: '#2e3028',
    950: '#000000',
  },
}
SCSS
$custom: #2e3028;
$custom-light: #666861;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3028",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 40
  },
  "hsl": {
    "h": 75,
    "s": 9.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.30441,
    "c": 0.01424,
    "h": 118.7
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#2E3028
secondary
#575460
accent
#76B285
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060605
muted
#7A7A79

Preview Lab

Preview with #2E3028

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

Preview Lab → · Contrast checker → · Palette generator →

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