#2E6112#2E6112

#2E6112 is a dark, vivid yellow-green. Relative luminance 0.092; OKLCH L 44.0% C 0.121 H 137.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2E6112
RGBrgb(46, 97, 18)
HSLhsl(99, 69%, 23%)
HSVhsv(99, 81%, 38%)
CMYKcmyk(52.6%, 0%, 81.4%, 62%)
CIE-LABlab(36.32, -31.98, 36.97)
CIE-LCHlch(36.32, 48.89, 130.86°)
OKLaboklab(44.04% -0.0888 0.0826)
OKLCHoklch(44.04% 0.121 137.1)
XYZxyz(5.5104, 9.1735, 2.0524)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6112 #451261
analogous
#566112 #2E6112 #12611D
triadic
#2E6112 #122E61 #61122E
tetradic
#2E6112 #125661 #451261 #611D12
square
#2E6112 #125661 #451261 #611D12
split-complementary
#2E6112 #1D1261 #611256
monochromatic
#0C1A05 #162D08 #2E6112 #46951C #5FC825

Accessibility & contrast

On white

7.41
#2E6112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2E6112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6112
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6112#FFFFFF#000000##FFFFFF
##2E61121.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#2B5D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e6112;
/* rgb */ color: rgb(46, 97, 18);
/* oklch */ color: oklch(44.0% 0.121 137.1);
Tailwind
colors: {
  custom: {
    50: '#6d8e57',
    500: '#2e6112',
    950: '#000000',
  },
}
SCSS
$custom: #2e6112;
$custom-light: #6d8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6112",
  "rgb": {
    "r": 46,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 98.734,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44037,
    "c": 0.12123,
    "h": 137.1
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#2E6112
secondary
#763699
accent
#3CECAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E6112

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

Preview Lab → · Contrast checker → · Palette generator →

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