#2E7F24#2E7F24

#2E7F24 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.149 H 141.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2E7F24
RGBrgb(46, 127, 36)
HSLhsl(113, 56%, 32%)
HSVhsv(113, 72%, 50%)
CMYKcmyk(63.8%, 0%, 71.7%, 50.2%)
CIE-LABlab(46.82, -42.61, 40.43)
CIE-LCHlch(46.82, 58.74, 136.51°)
OKLaboklab(52.75% -0.1163 0.0924)
OKLCHoklch(52.75% 0.149 141.5)
XYZxyz(9.0341, 15.8861, 4.2590)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F24 #75247F
analogous
#5B7F24 #2E7F24 #247F48
triadic
#2E7F24 #242E7F #7F242E
tetradic
#2E7F24 #245B7F #75247F #7F4824
square
#2E7F24 #245B7F #75247F #7F4824
split-complementary
#2E7F24 #48247F #7F245B
monochromatic
#0B2009 #1D4F16 #2E7F24 #3FAF32 #5ECD50

Accessibility & contrast

On white

5.03
#2E7F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2E7F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F24
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F24#FFFFFF#000000##FFFFFF
##2E7F241.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827316
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#217B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f24;
/* rgb */ color: rgb(46, 127, 36);
/* oklch */ color: oklch(52.7% 0.149 141.5);
Tailwind
colors: {
  custom: {
    50: '#71a564',
    500: '#2e7f24',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f24;
$custom-light: #71a564;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f24",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 113.407,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.14855,
    "h": 141.5
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#2E7F24
secondary
#A64EB1
accent
#49DFCF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7F24

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

Preview Lab → · Contrast checker → · Palette generator →

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