#2E4011#2E4011

#2E4011 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.074 H 127.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2E4011
RGBrgb(46, 64, 17)
HSLhsl(83, 58%, 16%)
HSVhsv(83, 73%, 25%)
CMYKcmyk(28.1%, 0%, 73.4%, 74.9%)
CIE-LABlab(24.60, -15.92, 25.54)
CIE-LCHlch(24.60, 30.09, 121.94°)
OKLaboklab(34.46% -0.0452 0.0584)
OKLCHoklch(34.46% 0.074 127.8)
XYZxyz(3.0613, 4.2880, 1.1966)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4011 #231140
analogous
#403A11 #2E4011 #164011
triadic
#2E4011 #112E40 #40112E
tetradic
#2E4011 #11403A #231140 #401116
square
#2E4011 #11403A #231140 #401116
split-complementary
#2E4011 #111640 #3A1140
monochromatic
#111806 #111806 #2E4011 #51701E #74A12B

Accessibility & contrast

On white

11.30
#2E4011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E4011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4011
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4011#FFFFFF#000000##FFFFFF
##2E40111.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B0B
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#303D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e4011;
/* rgb */ color: rgb(46, 64, 17);
/* oklch */ color: oklch(34.5% 0.074 127.8);
Tailwind
colors: {
  custom: {
    50: '#687552',
    500: '#2e4011',
    950: '#000000',
  },
}
SCSS
$custom: #2e4011;
$custom-light: #687552;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4011",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 17
  },
  "hsl": {
    "h": 82.979,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34459,
    "c": 0.07389,
    "h": 127.8
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#2E4011
secondary
#4E3379
accent
#47E182
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E4011

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

Preview Lab → · Contrast checker → · Palette generator →

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