#2E3D0C#2E3D0C

#2E3D0C is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.074 H 125.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2E3D0C
RGBrgb(46, 61, 12)
HSLhsl(78, 67%, 14%)
HSVhsv(78, 80%, 24%)
CMYKcmyk(24.6%, 0%, 80.3%, 76.1%)
CIE-LABlab(23.49, -14.66, 26.79)
CIE-LCHlch(23.49, 30.54, 118.69°)
OKLaboklab(33.54% -0.0423 0.0602)
OKLCHoklch(33.54% 0.074 125.1)
XYZxyz(2.8618, 3.9448, 0.9584)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3D0C #1B0C3D
analogous
#3D340C #2E3D0C #163D0C
triadic
#2E3D0C #0C2E3D #3D0C2E
tetradic
#2E3D0C #0C3D34 #1B0C3D #3D0C16
square
#2E3D0C #0C3D34 #1B0C3D #3D0C16
split-complementary
#2E3D0C #0C163D #340C3D
monochromatic
#131A05 #131A05 #2E3D0C #557016 #7BA320

Accessibility & contrast

On white

11.74
#2E3D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E3D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3D0C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3D0C#FFFFFF#000000##FFFFFF
##2E3D0C1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413805
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#303A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e3d0c;
/* rgb */ color: rgb(46, 61, 12);
/* oklch */ color: oklch(33.5% 0.074 125.1);
Tailwind
colors: {
  custom: {
    50: '#69724e',
    500: '#2e3d0c',
    950: '#000000',
  },
}
SCSS
$custom: #2e3d0c;
$custom-light: #69724e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3d0c",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 12
  },
  "hsl": {
    "h": 78.367,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33543,
    "c": 0.07358,
    "h": 125.1
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#2E3D0C
secondary
#432C79
accent
#3EEA73
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E3D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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