#2E8252#2E8252

#2E8252 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.3% C 0.111 H 154.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2E8252
RGBrgb(46, 130, 82)
HSLhsl(146, 48%, 35%)
HSVhsv(146, 65%, 51%)
CMYKcmyk(64.6%, 0%, 36.9%, 49%)
CIE-LABlab(48.45, -36.91, 18.74)
CIE-LCHlch(48.45, 41.39, 153.08°)
OKLaboklab(54.29% -0.1001 0.047)
OKLCHoklch(54.29% 0.111 154.8)
XYZxyz(10.6314, 17.1542, 10.7318)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8252 #822E5E
analogous
#34822E #2E8252 #2E827C
triadic
#2E8252 #522E82 #82522E
tetradic
#2E8252 #2E3482 #822E5E #827C2E
square
#2E8252 #2E3482 #822E5E #827C2E
split-complementary
#2E8252 #7C2E82 #822E34
monochromatic
#0E2819 #1E5535 #2E8252 #3EAF6F #63C88E

Accessibility & contrast

On white

4.74
#2E8252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2E8252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8252
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8252#FFFFFF#000000##FFFFFF
##2E82521.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784F
Deuteranopia (green-blind)
#777055
Tritanopia (blue-blind)
#078176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e8252;
/* rgb */ color: rgb(46, 130, 82);
/* oklch */ color: oklch(54.3% 0.111 154.8);
Tailwind
colors: {
  custom: {
    50: '#70a783',
    500: '#2e8252',
    950: '#000000',
  },
}
SCSS
$custom: #2e8252;
$custom-light: #70a783;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8252",
  "rgb": {
    "r": 46,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 145.714,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.11057,
    "h": 154.8
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#2E8252
secondary
#AE5D8C
accent
#509ED7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2E8252

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

Preview Lab → · Contrast checker → · Palette generator →

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