#2E5D15#2E5D15

#2E5D15 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 42.9% C 0.114 H 137.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2E5D15
RGBrgb(46, 93, 21)
HSLhsl(99, 63%, 22%)
HSVhsv(99, 77%, 36%)
CMYKcmyk(50.5%, 0%, 77.4%, 63.5%)
CIE-LABlab(34.93, -30.00, 34.43)
CIE-LCHlch(34.93, 45.67, 131.07°)
OKLaboklab(42.9% -0.0832 0.0777)
OKLCHoklch(42.9% 0.114 137)
XYZxyz(5.1763, 8.4633, 2.0702)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D15 #44155D
analogous
#525D15 #2E5D15 #155D20
triadic
#2E5D15 #152E5D #5D152E
tetradic
#2E5D15 #15525D #44155D #5D2015
square
#2E5D15 #15525D #44155D #5D2015
split-complementary
#2E5D15 #20155D #5D1552
monochromatic
#0C1906 #152B0A #2E5D15 #478F20 #5FC12C

Accessibility & contrast

On white

7.80
#2E5D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5D15
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D15#FFFFFF#000000##FFFFFF
##2E5D151.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605508
Deuteranopia (green-blind)
#5A511C
Tritanopia (blue-blind)
#2B594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5d15;
/* rgb */ color: rgb(46, 93, 21);
/* oklch */ color: oklch(42.9% 0.114 137.0);
Tailwind
colors: {
  custom: {
    50: '#6c8b58',
    500: '#2e5d15',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d15;
$custom-light: #6c8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d15",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 99.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42904,
    "c": 0.11386,
    "h": 137
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#2E5D15
secondary
#753994
accent
#42E6AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5D15

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

Preview Lab → · Contrast checker → · Palette generator →

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