#2E5A14#2E5A14

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

Color values

HEX#2E5A14
RGBrgb(46, 90, 20)
HSLhsl(98, 64%, 22%)
HSVhsv(98, 78%, 35%)
CMYKcmyk(48.9%, 0%, 77.8%, 64.7%)
CIE-LABlab(33.86, -28.73, 33.77)
CIE-LCHlch(33.86, 44.34, 130.39°)
OKLaboklab(42.03% -0.0799 0.0762)
OKLCHoklch(42.03% 0.11 136.4)
XYZxyz(4.9090, 7.9434, 1.9362)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A14 #40145A
analogous
#515A14 #2E5A14 #145A1D
triadic
#2E5A14 #142E5A #5A142E
tetradic
#2E5A14 #14515A #40145A #5A1D14
square
#2E5A14 #14515A #40145A #5A1D14
split-complementary
#2E5A14 #1D145A #5A1451
monochromatic
#0D1906 #142809 #2E5A14 #488C1F #61BE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5A14#FFFFFF#000000##FFFFFF
##2E5A141.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)
#5D5208
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#2C564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5a14;
/* rgb */ color: rgb(46, 90, 20);
/* oklch */ color: oklch(42.0% 0.110 136.4);
Tailwind
colors: {
  custom: {
    50: '#6b8957',
    500: '#2e5a14',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a14;
$custom-light: #6b8957;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a14",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 97.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.11037,
    "h": 136.4
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#2E5A14
secondary
#703892
accent
#41E7A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5A14

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

Preview Lab → · Contrast checker → · Palette generator →

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