#2E3D12#2E3D12

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

Color values

HEX#2E3D12
RGBrgb(46, 61, 18)
HSLhsl(81, 54%, 15%)
HSVhsv(81, 70%, 24%)
CMYKcmyk(24.6%, 0%, 70.5%, 76.1%)
CIE-LABlab(23.55, -14.13, 23.87)
CIE-LCHlch(23.55, 27.74, 120.62°)
OKLaboklab(33.61% -0.0402 0.0551)
OKLCHoklch(33.61% 0.068 126.1)
XYZxyz(2.9046, 3.9620, 1.1839)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3D12 #21123D
analogous
#3D3612 #2E3D12 #183D12
triadic
#2E3D12 #122E3D #3D122E
tetradic
#2E3D12 #123D36 #21123D #3D1218
square
#2E3D12 #123D36 #21123D #3D1218
split-complementary
#2E3D12 #12183D #36123D
monochromatic
#121807 #121807 #2E3D12 #526C20 #759C2E

Accessibility & contrast

On white

11.72
#2E3D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3D12
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3D12#FFFFFF#000000##FFFFFF
##2E3D121.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40390D
Deuteranopia (green-blind)
#3E3815
Tritanopia (blue-blind)
#303A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e3d12;
/* rgb */ color: rgb(46, 61, 18);
/* oklch */ color: oklch(33.6% 0.068 126.1);
Tailwind
colors: {
  custom: {
    50: '#687252',
    500: '#2e3d12',
    950: '#000000',
  },
}
SCSS
$custom: #2e3d12;
$custom-light: #687252;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3d12",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 80.93,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33607,
    "c": 0.06817,
    "h": 126.1
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

primary
#2E3D12
secondary
#4C3576
accent
#4ADE7E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E3D12

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

Preview Lab → · Contrast checker → · Palette generator →

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