#2E6010#2E6010

#2E6010 is a dark, vivid yellow-green. Relative luminance 0.090; OKLCH L 43.7% C 0.121 H 136.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2E6010
RGBrgb(46, 96, 16)
HSLhsl(98, 71%, 22%)
HSVhsv(98, 83%, 38%)
CMYKcmyk(52.1%, 0%, 83.3%, 62.4%)
CIE-LABlab(35.95, -31.68, 37.34)
CIE-LCHlch(35.95, 48.97, 130.31°)
OKLaboklab(43.73% -0.0881 0.083)
OKLCHoklch(43.73% 0.121 136.7)
XYZxyz(5.4030, 8.9836, 1.9394)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6010 #421060
analogous
#566010 #2E6010 #10601A
triadic
#2E6010 #102E60 #60102E
tetradic
#2E6010 #105660 #421060 #601A10
square
#2E6010 #105660 #421060 #601A10
split-complementary
#2E6010 #1A1060 #601056
monochromatic
#0D1A04 #152C07 #2E6010 #479419 #60C921

Accessibility & contrast

On white

7.51
#2E6010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E6010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6010
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6010#FFFFFF#000000##FFFFFF
##2E60101.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#2B5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e6010;
/* rgb */ color: rgb(46, 96, 16);
/* oklch */ color: oklch(43.7% 0.121 136.7);
Tailwind
colors: {
  custom: {
    50: '#6d8e56',
    500: '#2e6010',
    950: '#000000',
  },
}
SCSS
$custom: #2e6010;
$custom-light: #6d8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6010",
  "rgb": {
    "r": 46,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 97.5,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43734,
    "c": 0.12104,
    "h": 136.7
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#2E6010
secondary
#733399
accent
#3AEEAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E6010

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

Preview Lab → · Contrast checker → · Palette generator →

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