#2E6412#2E6412

#2E6412 is a dark, vivid yellow-green. Relative luminance 0.097; OKLCH L 44.9% C 0.125 H 137.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2E6412
RGBrgb(46, 100, 18)
HSLhsl(100, 69%, 23%)
HSVhsv(100, 82%, 39%)
CMYKcmyk(54%, 0%, 82%, 60.8%)
CIE-LABlab(37.37, -33.27, 37.99)
CIE-LCHlch(37.37, 50.50, 131.21°)
OKLaboklab(44.9% -0.0922 0.0847)
OKLCHoklch(44.9% 0.125 137.5)
XYZxyz(5.7929, 9.7384, 2.1466)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6412 #481264
analogous
#576412 #2E6412 #12641F
triadic
#2E6412 #122E64 #64122E
tetradic
#2E6412 #125764 #481264 #641F12
square
#2E6412 #125764 #481264 #641F12
split-complementary
#2E6412 #1F1264 #641257
monochromatic
#0C1A05 #163009 #2E6412 #46981B #5ECC25

Accessibility & contrast

On white

7.12
#2E6412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2E6412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6412
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6412#FFFFFF#000000##FFFFFF
##2E64121.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61561B
Tritanopia (blue-blind)
#2A6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e6412;
/* rgb */ color: rgb(46, 100, 18);
/* oklch */ color: oklch(44.9% 0.125 137.5);
Tailwind
colors: {
  custom: {
    50: '#6d9157',
    500: '#2e6412',
    950: '#000000',
  },
}
SCSS
$custom: #2e6412;
$custom-light: #6d9157;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6412",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 99.512,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44904,
    "c": 0.12521,
    "h": 137.5
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#2E6412
secondary
#79369C
accent
#3BECB0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #2E6412

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

Preview Lab → · Contrast checker → · Palette generator →

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