#2E4111#2E4111

#2E4111 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.075 H 128.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2E4111
RGBrgb(46, 65, 17)
HSLhsl(84, 59%, 16%)
HSVhsv(84, 74%, 25%)
CMYKcmyk(29.2%, 0%, 73.8%, 74.5%)
CIE-LABlab(24.96, -16.48, 25.92)
CIE-LCHlch(24.96, 30.71, 122.45°)
OKLaboklab(34.75% -0.0468 0.0592)
OKLCHoklch(34.75% 0.075 128.3)
XYZxyz(3.1182, 4.4018, 1.2156)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4111 #241141
analogous
#413C11 #2E4111 #164111
triadic
#2E4111 #112E41 #41112E
tetradic
#2E4111 #11413C #241141 #411116
square
#2E4111 #11413C #241141 #411116
split-complementary
#2E4111 #111641 #3C1141
monochromatic
#111806 #111806 #2E4111 #50721E #73A22A

Accessibility & contrast

On white

11.17
#2E4111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E4111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4111
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4111#FFFFFF#000000##FFFFFF
##2E41111.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0B
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#303E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e4111;
/* rgb */ color: rgb(46, 65, 17);
/* oklch */ color: oklch(34.7% 0.075 128.3);
Tailwind
colors: {
  custom: {
    50: '#697552',
    500: '#2e4111',
    950: '#000000',
  },
}
SCSS
$custom: #2e4111;
$custom-light: #697552;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4111",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 17
  },
  "hsl": {
    "h": 83.75,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34747,
    "c": 0.07548,
    "h": 128.3
  },
  "luminance": 0.04402
}

Semantic roles & 50–950 ramp

primary
#2E4111
secondary
#4F337B
accent
#46E284
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E4111

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

Preview Lab → · Contrast checker → · Palette generator →

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