#2E6511#2E6511

#2E6511 is a mid, vivid yellow-green. Relative luminance 0.099; OKLCH L 45.2% C 0.127 H 137.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2E6511
RGBrgb(46, 101, 17)
HSLhsl(99, 71%, 23%)
HSVhsv(99, 83%, 40%)
CMYKcmyk(54.5%, 0%, 83.2%, 60.4%)
CIE-LABlab(37.71, -33.76, 38.66)
CIE-LCHlch(37.71, 51.33, 131.12°)
OKLaboklab(45.18% -0.0936 0.0859)
OKLCHoklch(45.18% 0.127 137.5)
XYZxyz(5.8814, 9.9282, 2.1366)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6511 #481165
analogous
#586511 #2E6511 #11651E
triadic
#2E6511 #112E65 #65112E
tetradic
#2E6511 #115865 #481165 #651E11
square
#2E6511 #115865 #481165 #651E11
split-complementary
#2E6511 #1E1165 #651158
monochromatic
#0C1A04 #163108 #2E6511 #46991A #5ECE23

Accessibility & contrast

On white

7.03
#2E6511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2E6511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6511
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6511#FFFFFF#000000##FFFFFF
##2E65111.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#2A6155
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e6511;
/* rgb */ color: rgb(46, 101, 17);
/* oklch */ color: oklch(45.2% 0.127 137.5);
Tailwind
colors: {
  custom: {
    50: '#6d9157',
    500: '#2e6511',
    950: '#000000',
  },
}
SCSS
$custom: #2e6511;
$custom-light: #6d9157;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6511",
  "rgb": {
    "r": 46,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 99.286,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.12707,
    "h": 137.5
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#2E6511
secondary
#79359D
accent
#3AEEB0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2E6511

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

Preview Lab → · Contrast checker → · Palette generator →

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