#2E3C0D#2E3C0D

#2E3C0D is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.3% C 0.071 H 124.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2E3C0D
RGBrgb(46, 60, 13)
HSLhsl(78, 64%, 14%)
HSVhsv(78, 78%, 24%)
CMYKcmyk(23.3%, 0%, 78.3%, 76.5%)
CIE-LABlab(23.14, -14.01, 25.97)
CIE-LCHlch(23.14, 29.51, 118.35°)
OKLaboklab(33.26% -0.0404 0.0587)
OKLCHoklch(33.26% 0.071 124.6)
XYZxyz(2.8152, 3.8416, 0.9739)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3C0D #1B0D3C
analogous
#3C330D #2E3C0D #173C0D
triadic
#2E3C0D #0D2E3C #3C0D2E
tetradic
#2E3C0D #0D3C33 #1B0D3C #3C0D17
square
#2E3C0D #0D3C33 #1B0D3C #3C0D17
split-complementary
#2E3C0D #0D173C #330D3C
monochromatic
#131905 #131905 #2E3C0D #556E18 #7BA123

Accessibility & contrast

On white

11.88
#2E3C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E3C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3C0D
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3C0D#FFFFFF#000000##FFFFFF
##2E3C0D1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403806
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#303933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e3c0d;
/* rgb */ color: rgb(46, 60, 13);
/* oklch */ color: oklch(33.3% 0.071 124.6);
Tailwind
colors: {
  custom: {
    50: '#68714f',
    500: '#2e3c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2e3c0d;
$custom-light: #68714f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3c0d",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 13
  },
  "hsl": {
    "h": 77.872,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33264,
    "c": 0.07123,
    "h": 124.6
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#2E3C0D
secondary
#432D78
accent
#40E772
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2E3C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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