#2E5A15#2E5A15

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

Color values

HEX#2E5A15
RGBrgb(46, 90, 21)
HSLhsl(98, 62%, 22%)
HSVhsv(98, 77%, 35%)
CMYKcmyk(48.9%, 0%, 76.7%, 64.7%)
CIE-LABlab(33.87, -28.65, 33.36)
CIE-LCHlch(33.87, 43.97, 130.66°)
OKLaboklab(42.04% -0.0796 0.0755)
OKLCHoklch(42.04% 0.11 136.5)
XYZxyz(4.9181, 7.9470, 1.9841)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A15 #41155A
analogous
#515A15 #2E5A15 #155A1F
triadic
#2E5A15 #152E5A #5A152E
tetradic
#2E5A15 #15515A #41155A #5A1F15
square
#2E5A15 #15515A #41155A #5A1F15
split-complementary
#2E5A15 #1F155A #5A1551
monochromatic
#0D1906 #152809 #2E5A15 #478C21 #61BD2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5A15#FFFFFF#000000##FFFFFF
##2E5A151.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)
#5D5209
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#2C564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5a15;
/* rgb */ color: rgb(46, 90, 21);
/* oklch */ color: oklch(42.0% 0.110 136.5);
Tailwind
colors: {
  custom: {
    50: '#6b8957',
    500: '#2e5a15',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a15;
$custom-light: #6b8957;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a15",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 98.261,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.10966,
    "h": 136.5
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#2E5A15
secondary
#723992
accent
#43E5AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5A15

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

Preview Lab → · Contrast checker → · Palette generator →

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