#2E5A13#2E5A13

#2E5A13 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.111 H 136.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2E5A13
RGBrgb(46, 90, 19)
HSLhsl(97, 65%, 21%)
HSVhsv(97, 79%, 35%)
CMYKcmyk(48.9%, 0%, 78.9%, 64.7%)
CIE-LABlab(33.86, -28.81, 34.17)
CIE-LCHlch(33.86, 44.70, 130.13°)
OKLaboklab(42.02% -0.0801 0.0769)
OKLCHoklch(42.02% 0.111 136.2)
XYZxyz(4.9003, 7.9399, 1.8903)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A13 #3F135A
analogous
#525A13 #2E5A13 #135A1C
triadic
#2E5A13 #132E5A #5A132E
tetradic
#2E5A13 #13525A #3F135A #5A1C13
square
#2E5A13 #13525A #3F135A #5A1C13
split-complementary
#2E5A13 #1C135A #5A1352
monochromatic
#0D1905 #142708 #2E5A13 #488D1E #62BF28

Accessibility & contrast

On white

8.11
#2E5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E5A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5A13
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A13#FFFFFF#000000##FFFFFF
##2E5A131.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5206
Deuteranopia (green-blind)
#584E1A
Tritanopia (blue-blind)
#2C564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5a13;
/* rgb */ color: rgb(46, 90, 19);
/* oklch */ color: oklch(42.0% 0.111 136.2);
Tailwind
colors: {
  custom: {
    50: '#6b8956',
    500: '#2e5a13',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a13;
$custom-light: #6b8956;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a13",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 97.183,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.11105,
    "h": 136.2
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#2E5A13
secondary
#6F3792
accent
#40E8A8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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