#2E6611#2E6611

#2E6611 is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.5% C 0.128 H 137.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2E6611
RGBrgb(46, 102, 17)
HSLhsl(100, 71%, 23%)
HSVhsv(100, 83%, 40%)
CMYKcmyk(54.9%, 0%, 83.3%, 60%)
CIE-LABlab(38.06, -34.18, 38.99)
CIE-LCHlch(38.06, 51.85, 131.23°)
OKLaboklab(45.47% -0.0947 0.0866)
OKLCHoklch(45.47% 0.128 137.6)
XYZxyz(5.9791, 10.1236, 2.1692)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6611 #491166
analogous
#586611 #2E6611 #11661E
triadic
#2E6611 #112E66 #66112E
tetradic
#2E6611 #115866 #491166 #661E11
square
#2E6611 #115866 #491166 #661E11
split-complementary
#2E6611 #1E1166 #661158
monochromatic
#0C1A04 #163208 #2E6611 #469A1A #5DCF22

Accessibility & contrast

On white

6.94
#2E6611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2E6611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6611
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6611#FFFFFF#000000##FFFFFF
##2E66111.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5C00
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#2A6256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e6611;
/* rgb */ color: rgb(46, 102, 17);
/* oklch */ color: oklch(45.5% 0.128 137.6);
Tailwind
colors: {
  custom: {
    50: '#6e9257',
    500: '#2e6611',
    950: '#000000',
  },
}
SCSS
$custom: #2e6611;
$custom-light: #6e9257;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6611",
  "rgb": {
    "r": 46,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 99.529,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45474,
    "c": 0.12837,
    "h": 137.6
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#2E6611
secondary
#7A359E
accent
#3AEEB1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2E6611

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

Preview Lab → · Contrast checker → · Palette generator →

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