#2E7E24#2E7E24

#2E7E24 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.147 H 141.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2E7E24
RGBrgb(46, 126, 36)
HSLhsl(113, 56%, 32%)
HSVhsv(113, 71%, 49%)
CMYKcmyk(63.5%, 0%, 71.4%, 50.6%)
CIE-LABlab(46.48, -42.23, 40.07)
CIE-LCHlch(46.48, 58.21, 136.50°)
OKLaboklab(52.47% -0.1153 0.0917)
OKLCHoklch(52.47% 0.147 141.5)
XYZxyz(8.9056, 15.6291, 4.2161)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E24 #74247E
analogous
#5B7E24 #2E7E24 #247E47
triadic
#2E7E24 #242E7E #7E242E
tetradic
#2E7E24 #245B7E #74247E #7E4724
square
#2E7E24 #245B7E #74247E #7E4724
split-complementary
#2E7E24 #47247E #7E245B
monochromatic
#0B1F09 #1D4E16 #2E7E24 #3FAE32 #5DCD50

Accessibility & contrast

On white

5.09
#2E7E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2E7E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E24
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E24#FFFFFF#000000##FFFFFF
##2E7E241.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#776C2D
Tritanopia (blue-blind)
#217A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e24;
/* rgb */ color: rgb(46, 126, 36);
/* oklch */ color: oklch(52.5% 0.147 141.5);
Tailwind
colors: {
  custom: {
    50: '#71a464',
    500: '#2e7e24',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e24;
$custom-light: #71a464;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e24",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 113.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.14728,
    "h": 141.5
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

primary
#2E7E24
secondary
#A54EB0
accent
#49DFCE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7E24

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

Preview Lab → · Contrast checker → · Palette generator →

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