#2E7F25#2E7F25

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

Color values

HEX#2E7F25
RGBrgb(46, 127, 37)
HSLhsl(114, 55%, 32%)
HSVhsv(114, 71%, 50%)
CMYKcmyk(63.8%, 0%, 70.9%, 50.2%)
CIE-LABlab(46.83, -42.52, 40.01)
CIE-LCHlch(46.83, 58.38, 136.74°)
OKLaboklab(52.76% -0.116 0.0917)
OKLCHoklch(52.76% 0.148 141.7)
XYZxyz(9.0495, 15.8923, 4.3405)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F25 #76257F
analogous
#5B7F25 #2E7F25 #257F49
triadic
#2E7F25 #252E7F #7F252E
tetradic
#2E7F25 #255B7F #76257F #7F4925
square
#2E7F25 #255B7F #76257F #7F4925
split-complementary
#2E7F25 #49257F #7F255B
monochromatic
#0C2009 #1D5017 #2E7F25 #3FAE33 #5ECD52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7F25#FFFFFF#000000##FFFFFF
##2E7F251.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)
#827318
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#207B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f25;
/* rgb */ color: rgb(46, 127, 37);
/* oklch */ color: oklch(52.8% 0.148 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a565',
    500: '#2e7f25',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f25;
$custom-light: #71a565;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f25",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 114,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.14784,
    "h": 141.7
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#2E7F25
secondary
#A74FB1
accent
#4ADECF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7F25

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

Preview Lab → · Contrast checker → · Palette generator →

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