#2E7C24#2E7C24

#2E7C24 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.145 H 141.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2E7C24
RGBrgb(46, 124, 36)
HSLhsl(113, 55%, 31%)
HSVhsv(113, 71%, 49%)
CMYKcmyk(62.9%, 0%, 71%, 51.4%)
CIE-LABlab(45.80, -41.46, 39.35)
CIE-LCHlch(45.80, 57.16, 136.50°)
OKLaboklab(51.9% -0.1132 0.0901)
OKLCHoklch(51.9% 0.145 141.5)
XYZxyz(8.6524, 15.1227, 4.1317)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C24 #72247C
analogous
#5A7C24 #2E7C24 #247C46
triadic
#2E7C24 #242E7C #7C242E
tetradic
#2E7C24 #245A7C #72247C #7C4624
square
#2E7C24 #245A7C #72247C #7C4624
split-complementary
#2E7C24 #46247C #7C245A
monochromatic
#0B1D08 #1C4D16 #2E7C24 #40AB32 #5DCC4F

Accessibility & contrast

On white

5.22
#2E7C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2E7C24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C24
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C24#FFFFFF#000000##FFFFFF
##2E7C241.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7017
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#22786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7c24;
/* rgb */ color: rgb(46, 124, 36);
/* oklch */ color: oklch(51.9% 0.145 141.5);
Tailwind
colors: {
  custom: {
    50: '#71a364',
    500: '#2e7c24',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c24;
$custom-light: #71a364;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c24",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 113.182,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.1447,
    "h": 141.5
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#2E7C24
secondary
#A34DAE
accent
#49DECD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7C24

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

Preview Lab → · Contrast checker → · Palette generator →

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