#2E7E25#2E7E25

#2E7E25 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.147 H 141.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2E7E25
RGBrgb(46, 126, 37)
HSLhsl(114, 55%, 32%)
HSVhsv(114, 71%, 49%)
CMYKcmyk(63.5%, 0%, 70.6%, 50.6%)
CIE-LABlab(46.49, -42.14, 39.65)
CIE-LCHlch(46.49, 57.86, 136.74°)
OKLaboklab(52.48% -0.115 0.0909)
OKLCHoklch(52.48% 0.147 141.7)
XYZxyz(8.9210, 15.6353, 4.2977)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E25 #75257E
analogous
#5A7E25 #2E7E25 #257E49
triadic
#2E7E25 #252E7E #7E252E
tetradic
#2E7E25 #255A7E #75257E #7E4925
square
#2E7E25 #255A7E #75257E #7E4925
split-complementary
#2E7E25 #49257E #7E255A
monochromatic
#0B1F09 #1D4F17 #2E7E25 #3FAD33 #5ECC51

Accessibility & contrast

On white

5.09
#2E7E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2E7E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E25
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E25#FFFFFF#000000##FFFFFF
##2E7E251.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817218
Deuteranopia (green-blind)
#776C2D
Tritanopia (blue-blind)
#217A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e25;
/* rgb */ color: rgb(46, 126, 37);
/* oklch */ color: oklch(52.5% 0.147 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a464',
    500: '#2e7e25',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e25;
$custom-light: #71a464;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e25",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 113.933,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.14656,
    "h": 141.7
  },
  "luminance": 0.15636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E7E25

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

Preview Lab → · Contrast checker → · Palette generator →

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