#2E7515#2E7515

#2E7515 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.145 H 139.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2E7515
RGBrgb(46, 117, 21)
HSLhsl(104, 70%, 27%)
HSVhsv(104, 82%, 46%)
CMYKcmyk(60.7%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.30, -39.96, 42.61)
CIE-LCHlch(43.30, 58.41, 133.17°)
OKLaboklab(49.8% -0.11 0.0948)
OKLCHoklch(49.8% 0.145 139.3)
XYZxyz(7.6230, 13.3569, 2.8857)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7515 #5C1575
analogous
#5E7515 #2E7515 #15752C
triadic
#2E7515 #152E75 #75152E
tetradic
#2E7515 #155E75 #5C1575 #752C15
square
#2E7515 #155E75 #5C1575 #752C15
split-complementary
#2E7515 #2C1575 #75155E
monochromatic
#0A1A05 #1A410C #2E7515 #42A91E #59D92B

Accessibility & contrast

On white

5.72
#2E7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2E7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7515
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7515#FFFFFF#000000##FFFFFF
##2E75151.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#267163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e7515;
/* rgb */ color: rgb(46, 117, 21);
/* oklch */ color: oklch(49.8% 0.145 139.3);
Tailwind
colors: {
  custom: {
    50: '#709d5b',
    500: '#2e7515',
    950: '#000000',
  },
}
SCSS
$custom: #2e7515;
$custom-light: #709d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7515",
  "rgb": {
    "r": 46,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 104.375,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.14525,
    "h": 139.3
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#2E7515
secondary
#8E3BAB
accent
#3BECBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7515

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

Preview Lab → · Contrast checker → · Palette generator →

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