#2E4711#2E4711

#2E4711 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.085 H 131.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2E4711
RGBrgb(46, 71, 17)
HSLhsl(88, 61%, 17%)
HSVhsv(88, 76%, 28%)
CMYKcmyk(35.2%, 0%, 76.1%, 72.2%)
CIE-LABlab(27.10, -19.71, 28.17)
CIE-LCHlch(27.10, 34.38, 124.98°)
OKLaboklab(36.48% -0.0556 0.064)
OKLCHoklch(36.48% 0.085 131)
XYZxyz(3.4811, 5.1277, 1.3365)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4711 #2A1147
analogous
#474511 #2E4711 #134711
triadic
#2E4711 #112E47 #47112E
tetradic
#2E4711 #114745 #2A1147 #471113
square
#2E4711 #114745 #2A1147 #471113
split-complementary
#2E4711 #111347 #451147
monochromatic
#101906 #101906 #2E4711 #4E781D #6EAA29

Accessibility & contrast

On white

10.37
#2E4711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E4711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4711
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4711#FFFFFF#000000##FFFFFF
##2E47111.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4109
Deuteranopia (green-blind)
#473F16
Tritanopia (blue-blind)
#2F443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e4711;
/* rgb */ color: rgb(46, 71, 17);
/* oklch */ color: oklch(36.5% 0.085 131.0);
Tailwind
colors: {
  custom: {
    50: '#697a52',
    500: '#2e4711',
    950: '#000000',
  },
}
SCSS
$custom: #2e4711;
$custom-light: #697a52;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4711",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 17
  },
  "hsl": {
    "h": 87.778,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36484,
    "c": 0.08477,
    "h": 131
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#2E4711
secondary
#573381
accent
#43E48E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4711

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

Preview Lab → · Contrast checker → · Palette generator →

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