#2E7D25#2E7D25

#2E7D25 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.145 H 141.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2E7D25
RGBrgb(46, 125, 37)
HSLhsl(114, 54%, 32%)
HSVhsv(114, 70%, 49%)
CMYKcmyk(63.2%, 0%, 70.4%, 51%)
CIE-LABlab(46.15, -41.75, 39.29)
CIE-LCHlch(46.15, 57.33, 136.74°)
OKLaboklab(52.19% -0.1139 0.0901)
OKLCHoklch(52.19% 0.145 141.6)
XYZxyz(8.7938, 15.3808, 4.2553)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D25 #74257D
analogous
#5A7D25 #2E7D25 #257D48
triadic
#2E7D25 #252E7D #7D252E
tetradic
#2E7D25 #255A7D #74257D #7D4825
square
#2E7D25 #255A7D #74257D #7D4825
split-complementary
#2E7D25 #48257D #7D255A
monochromatic
#0B1F09 #1D4E17 #2E7D25 #3FAC33 #5DCB51

Accessibility & contrast

On white

5.15
#2E7D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2E7D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D25
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D25#FFFFFF#000000##FFFFFF
##2E7D251.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807119
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#21796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d25;
/* rgb */ color: rgb(46, 125, 37);
/* oklch */ color: oklch(52.2% 0.145 141.6);
Tailwind
colors: {
  custom: {
    50: '#71a364',
    500: '#2e7d25',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d25;
$custom-light: #71a364;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d25",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 113.864,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52194,
    "c": 0.14527,
    "h": 141.6
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E7D25

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

Preview Lab → · Contrast checker → · Palette generator →

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