#2E6711#2E6711

#2E6711 is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.130 H 137.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2E6711
RGBrgb(46, 103, 17)
HSLhsl(100, 72%, 24%)
HSVhsv(100, 83%, 40%)
CMYKcmyk(55.3%, 0%, 83.5%, 59.6%)
CIE-LABlab(38.41, -34.59, 39.32)
CIE-LCHlch(38.41, 52.38, 131.34°)
OKLaboklab(45.76% -0.0959 0.0873)
OKLCHoklch(45.76% 0.13 137.7)
XYZxyz(6.0779, 10.3213, 2.2021)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6711 #4A1167
analogous
#596711 #2E6711 #11671F
triadic
#2E6711 #112E67 #67112E
tetradic
#2E6711 #115967 #4A1167 #671F11
square
#2E6711 #115967 #4A1167 #671F11
split-complementary
#2E6711 #1F1167 #671159
monochromatic
#0C1A04 #173208 #2E6711 #459C1A #5DD022

Accessibility & contrast

On white

6.85
#2E6711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2E6711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6711
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6711#FFFFFF#000000##FFFFFF
##2E67111.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#2A6357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e6711;
/* rgb */ color: rgb(46, 103, 17);
/* oklch */ color: oklch(45.8% 0.130 137.7);
Tailwind
colors: {
  custom: {
    50: '#6e9357',
    500: '#2e6711',
    950: '#000000',
  },
}
SCSS
$custom: #2e6711;
$custom-light: #6e9357;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6711",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 99.767,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.12966,
    "h": 137.7
  },
  "luminance": 0.10322
}

Semantic roles & 50–950 ramp

primary
#2E6711
secondary
#7B359F
accent
#39EEB1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2E6711

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

Preview Lab → · Contrast checker → · Palette generator →

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