#2E5B10#2E5B10

#2E5B10 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.114 H 136.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2E5B10
RGBrgb(46, 91, 16)
HSLhsl(96, 70%, 21%)
HSVhsv(96, 82%, 36%)
CMYKcmyk(49.5%, 0%, 82.4%, 64.3%)
CIE-LABlab(34.19, -29.48, 35.66)
CIE-LCHlch(34.19, 46.27, 129.58°)
OKLaboklab(42.29% -0.0822 0.0795)
OKLCHoklch(42.29% 0.114 136)
XYZxyz(4.9612, 8.1001, 1.7922)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5B10 #3D105B
analogous
#535B10 #2E5B10 #105B17
triadic
#2E5B10 #102E5B #5B102E
tetradic
#2E5B10 #10535B #3D105B #5B1710
square
#2E5B10 #10535B #3D105B #5B1710
split-complementary
#2E5B10 #17105B #5B1053
monochromatic
#0D1A05 #142707 #2E5B10 #488F19 #63C322

Accessibility & contrast

On white

8.02
#2E5B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E5B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5B10
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5B10#FFFFFF#000000##FFFFFF
##2E5B101.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5301
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#2C574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5b10;
/* rgb */ color: rgb(46, 91, 16);
/* oklch */ color: oklch(42.3% 0.114 136.0);
Tailwind
colors: {
  custom: {
    50: '#6c8a55',
    500: '#2e5b10',
    950: '#000000',
  },
}
SCSS
$custom: #2e5b10;
$custom-light: #6c8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5b10",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 96,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42286,
    "c": 0.11431,
    "h": 136
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#2E5B10
secondary
#6D3394
accent
#3BEDA6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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