#2E6311#2E6311

#2E6311 is a dark, vivid yellow-green. Relative luminance 0.095; OKLCH L 44.6% C 0.124 H 137.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2E6311
RGBrgb(46, 99, 17)
HSLhsl(99, 71%, 23%)
HSVhsv(99, 83%, 39%)
CMYKcmyk(53.5%, 0%, 82.8%, 61.2%)
CIE-LABlab(37.01, -32.91, 38.00)
CIE-LCHlch(37.01, 50.27, 130.89°)
OKLaboklab(44.61% -0.0913 0.0845)
OKLCHoklch(44.61% 0.124 137.2)
XYZxyz(5.6896, 9.5446, 2.0727)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6311 #461163
analogous
#576311 #2E6311 #11631D
triadic
#2E6311 #112E63 #63112E
tetradic
#2E6311 #115763 #461163 #631D11
square
#2E6311 #115763 #461163 #631D11
split-complementary
#2E6311 #1D1163 #631157
monochromatic
#0C1A04 #162F08 #2E6311 #46971A #5FCB23

Accessibility & contrast

On white

7.22
#2E6311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E6311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6311
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6311#FFFFFF#000000##FFFFFF
##2E63111.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#60551A
Tritanopia (blue-blind)
#2B5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e6311;
/* rgb */ color: rgb(46, 99, 17);
/* oklch */ color: oklch(44.6% 0.124 137.2);
Tailwind
colors: {
  custom: {
    50: '#6d9057',
    500: '#2e6311',
    950: '#000000',
  },
}
SCSS
$custom: #2e6311;
$custom-light: #6d9057;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6311",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 98.78,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.12445,
    "h": 137.2
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#2E6311
secondary
#77349B
accent
#3AEDAE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E6311

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

Preview Lab → · Contrast checker → · Palette generator →

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