#2E7A25#2E7A25

#2E7A25 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.141 H 141.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2E7A25
RGBrgb(46, 122, 37)
HSLhsl(114, 53%, 31%)
HSVhsv(114, 70%, 48%)
CMYKcmyk(62.3%, 0%, 69.7%, 52.2%)
CIE-LABlab(45.13, -40.59, 38.19)
CIE-LCHlch(45.13, 55.73, 136.74°)
OKLaboklab(51.35% -0.1108 0.0878)
OKLCHoklch(51.35% 0.141 141.6)
XYZxyz(8.4197, 14.6327, 4.1306)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A25 #71257A
analogous
#587A25 #2E7A25 #257A46
triadic
#2E7A25 #252E7A #7A252E
tetradic
#2E7A25 #25587A #71257A #7A4625
square
#2E7A25 #25587A #71257A #7A4625
split-complementary
#2E7A25 #46257A #7A2558
monochromatic
#0B1C09 #1C4B17 #2E7A25 #40A933 #5DCA50

Accessibility & contrast

On white

5.35
#2E7A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2E7A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A25
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A25#FFFFFF#000000##FFFFFF
##2E7A251.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F19
Deuteranopia (green-blind)
#74682D
Tritanopia (blue-blind)
#227669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7a25;
/* rgb */ color: rgb(46, 122, 37);
/* oklch */ color: oklch(51.3% 0.141 141.6);
Tailwind
colors: {
  custom: {
    50: '#70a164',
    500: '#2e7a25',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a25;
$custom-light: #70a164;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a25",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 113.647,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51348,
    "c": 0.14137,
    "h": 141.6
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#2E7A25
secondary
#A24EAC
accent
#4BDDCD
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7A25

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

Preview Lab → · Contrast checker → · Palette generator →

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