#2E8528#2E8528

#2E8528 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.153 H 142.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2E8528
RGBrgb(46, 133, 40)
HSLhsl(116, 54%, 34%)
HSVhsv(116, 70%, 52%)
CMYKcmyk(65.4%, 0%, 69.9%, 47.8%)
CIE-LABlab(48.89, -44.49, 40.92)
CIE-LCHlch(48.89, 60.44, 137.39°)
OKLaboklab(54.47% -0.1211 0.094)
OKLCHoklch(54.47% 0.153 142.2)
XYZxyz(9.8967, 17.5081, 4.8649)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8528 #7F2885
analogous
#5D8528 #2E8528 #288551
triadic
#2E8528 #282E85 #85282E
tetradic
#2E8528 #285D85 #7F2885 #855128
square
#2E8528 #285D85 #7F2885 #855128
split-complementary
#2E8528 #512885 #85285D
monochromatic
#0D270C #1E561A #2E8528 #3EB436 #61CD5A

Accessibility & contrast

On white

4.66
#2E8528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2E8528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8528
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8528#FFFFFF#000000##FFFFFF
##2E85281.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791B
Deuteranopia (green-blind)
#7E7131
Tritanopia (blue-blind)
#1D8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e8528;
/* rgb */ color: rgb(46, 133, 40);
/* oklch */ color: oklch(54.5% 0.153 142.2);
Tailwind
colors: {
  custom: {
    50: '#72a967',
    500: '#2e8528',
    950: '#000000',
  },
}
SCSS
$custom: #2e8528;
$custom-light: #72a967;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8528",
  "rgb": {
    "r": 46,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 116.129,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5447,
    "c": 0.15331,
    "h": 142.2
  },
  "luminance": 0.17509
}

Semantic roles & 50–950 ramp

primary
#2E8528
secondary
#AD56B3
accent
#4BDDD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8528

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

Preview Lab → · Contrast checker → · Palette generator →

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