#2E3D0F#2E3D0F

#2E3D0F is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.071 H 125.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2E3D0F
RGBrgb(46, 61, 15)
HSLhsl(80, 61%, 15%)
HSVhsv(80, 75%, 24%)
CMYKcmyk(24.6%, 0%, 75.4%, 76.1%)
CIE-LABlab(23.51, -14.41, 25.38)
CIE-LCHlch(23.51, 29.19, 119.59°)
OKLaboklab(33.57% -0.0413 0.0578)
OKLCHoklch(33.57% 0.071 125.6)
XYZxyz(2.8817, 3.9528, 1.0630)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3D0F #1E0F3D
analogous
#3D350F #2E3D0F #173D0F
triadic
#2E3D0F #0F2E3D #3D0F2E
tetradic
#2E3D0F #0F3D35 #1E0F3D #3D0F17
square
#2E3D0F #0F3D35 #1E0F3D #3D0F17
split-complementary
#2E3D0F #0F173D #350F3D
monochromatic
#131906 #131906 #2E3D0F #536E1B #789F27

Accessibility & contrast

On white

11.73
#2E3D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3D0F
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3D0F#FFFFFF#000000##FFFFFF
##2E3D0F1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413909
Deuteranopia (green-blind)
#3F3813
Tritanopia (blue-blind)
#303A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e3d0f;
/* rgb */ color: rgb(46, 61, 15);
/* oklch */ color: oklch(33.6% 0.071 125.6);
Tailwind
colors: {
  custom: {
    50: '#687250',
    500: '#2e3d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e3d0f;
$custom-light: #687250;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3d0f",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 15
  },
  "hsl": {
    "h": 79.565,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33573,
    "c": 0.07102,
    "h": 125.6
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#2E3D0F
secondary
#483077
accent
#44E478
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E3D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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