#2E5E10#2E5E10

#2E5E10 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.118 H 136.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2E5E10
RGBrgb(46, 94, 16)
HSLhsl(97, 71%, 22%)
HSVhsv(97, 83%, 37%)
CMYKcmyk(51.1%, 0%, 83%, 63.1%)
CIE-LABlab(35.25, -30.81, 36.67)
CIE-LCHlch(35.25, 47.90, 130.03°)
OKLaboklab(43.16% -0.0858 0.0816)
OKLCHoklch(43.16% 0.118 136.4)
XYZxyz(5.2228, 8.6233, 1.8794)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E10 #40105E
analogous
#555E10 #2E5E10 #105E19
triadic
#2E5E10 #102E5E #5E102E
tetradic
#2E5E10 #10555E #40105E #5E1910
square
#2E5E10 #10555E #40105E #5E1910
split-complementary
#2E5E10 #19105E #5E1055
monochromatic
#0D1A04 #142A07 #2E5E10 #489219 #61C722

Accessibility & contrast

On white

7.71
#2E5E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E5E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5E10
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E10#FFFFFF#000000##FFFFFF
##2E5E101.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#2C5A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e10;
/* rgb */ color: rgb(46, 94, 16);
/* oklch */ color: oklch(43.2% 0.118 136.4);
Tailwind
colors: {
  custom: {
    50: '#6c8c55',
    500: '#2e5e10',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e10;
$custom-light: #6c8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e10",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 96.923,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43155,
    "c": 0.11837,
    "h": 136.4
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#2E5E10
secondary
#703397
accent
#3AEEA9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5E10

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

Preview Lab → · Contrast checker → · Palette generator →

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