#2E6810#2E6810

#2E6810 is a mid, vivid yellow-green. Relative luminance 0.105; OKLCH L 46.0% C 0.131 H 137.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2E6810
RGBrgb(46, 104, 16)
HSLhsl(100, 73%, 24%)
HSVhsv(100, 85%, 41%)
CMYKcmyk(55.8%, 0%, 84.6%, 59.2%)
CIE-LABlab(38.76, -35.07, 39.98)
CIE-LCHlch(38.76, 53.18, 131.26°)
OKLaboklab(46.04% -0.0972 0.0885)
OKLCHoklch(46.04% 0.131 137.7)
XYZxyz(6.1703, 10.5184, 2.1952)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6810 #4A1068
analogous
#5A6810 #2E6810 #10681E
triadic
#2E6810 #102E68 #68102E
tetradic
#2E6810 #105A68 #4A1068 #681E10
square
#2E6810 #105A68 #4A1068 #681E10
split-complementary
#2E6810 #1E1068 #68105A
monochromatic
#0C1B04 #173308 #2E6810 #459D18 #5DD220

Accessibility & contrast

On white

6.77
#2E6810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2E6810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6810
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6810#FFFFFF#000000##FFFFFF
##2E68101.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#2A6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e6810;
/* rgb */ color: rgb(46, 104, 16);
/* oklch */ color: oklch(46.0% 0.131 137.7);
Tailwind
colors: {
  custom: {
    50: '#6e9457',
    500: '#2e6810',
    950: '#000000',
  },
}
SCSS
$custom: #2e6810;
$custom-light: #6e9457;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6810",
  "rgb": {
    "r": 46,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 99.545,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46044,
    "c": 0.13146,
    "h": 137.7
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#2E6810
secondary
#7B34A0
accent
#38F0B1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2E6810

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

Preview Lab → · Contrast checker → · Palette generator →

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