#2E3818#2E3818

#2E3818 is a dark, muted yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.053 H 123.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#2E3818
RGBrgb(46, 56, 24)
HSLhsl(79, 40%, 16%)
HSVhsv(79, 57%, 22%)
CMYKcmyk(17.9%, 0%, 57.1%, 78%)
CIE-LABlab(21.85, -10.49, 18.50)
CIE-LCHlch(21.85, 21.27, 119.57°)
OKLaboklab(32.27% -0.0294 0.0442)
OKLCHoklch(32.27% 0.053 123.7)
XYZxyz(2.7058, 3.4751, 1.3922)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3818 #221838
analogous
#383218 #2E3818 #1E3818
triadic
#2E3818 #182E38 #38182E
tetradic
#2E3818 #183832 #221838 #38181E
square
#2E3818 #183832 #221838 #38181E
split-complementary
#2E3818 #181E38 #321838
monochromatic
#121509 #121509 #2E3818 #51632A #748E3D

Accessibility & contrast

On white

12.39
#2E3818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E3818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3818
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3818#FFFFFF#000000##FFFFFF
##2E38181.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3515
Deuteranopia (green-blind)
#3A341A
Tritanopia (blue-blind)
#303531
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e3818;
/* rgb */ color: rgb(46, 56, 24);
/* oklch */ color: oklch(32.3% 0.053 123.7);
Tailwind
colors: {
  custom: {
    50: '#676e55',
    500: '#2e3818',
    950: '#000000',
  },
}
SCSS
$custom: #2e3818;
$custom-light: #676e55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3818",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 24
  },
  "hsl": {
    "h": 78.75,
    "s": 40,
    "l": 15.686
  },
  "oklch": {
    "l": 0.32269,
    "c": 0.05307,
    "h": 123.7
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#2E3818
secondary
#4D3E6E
accent
#58D07D
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #2E3818

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

Preview Lab → · Contrast checker → · Palette generator →

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