#2E5D10#2E5D10

#2E5D10 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.9% C 0.117 H 136.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2E5D10
RGBrgb(46, 93, 16)
HSLhsl(97, 71%, 21%)
HSVhsv(97, 83%, 36%)
CMYKcmyk(50.5%, 0%, 82.8%, 63.5%)
CIE-LABlab(34.90, -30.37, 36.34)
CIE-LCHlch(34.90, 47.36, 129.89°)
OKLaboklab(42.87% -0.0846 0.0809)
OKLCHoklch(42.87% 0.117 136.3)
XYZxyz(5.1345, 8.4466, 1.8499)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D10 #3F105D
analogous
#555D10 #2E5D10 #105D19
triadic
#2E5D10 #102E5D #5D102E
tetradic
#2E5D10 #10555D #3F105D #5D1910
square
#2E5D10 #10555D #3F105D #5D1910
split-complementary
#2E5D10 #19105D #5D1055
monochromatic
#0D1A04 #142907 #2E5D10 #489119 #62C522

Accessibility & contrast

On white

7.81
#2E5D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E5D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5D10
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D10#FFFFFF#000000##FFFFFF
##2E5D101.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615400
Deuteranopia (green-blind)
#5A5118
Tritanopia (blue-blind)
#2C594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5d10;
/* rgb */ color: rgb(46, 93, 16);
/* oklch */ color: oklch(42.9% 0.117 136.3);
Tailwind
colors: {
  custom: {
    50: '#6c8b55',
    500: '#2e5d10',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d10;
$custom-light: #6c8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d10",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 96.623,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42866,
    "c": 0.11703,
    "h": 136.3
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#2E5D10
secondary
#6F3396
accent
#3AEDA8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5D10

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

Preview Lab → · Contrast checker → · Palette generator →

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