#2E7528#2E7528

#2E7528 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.132 H 142.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2E7528
RGBrgb(46, 117, 40)
HSLhsl(115, 49%, 31%)
HSVhsv(115, 66%, 46%)
CMYKcmyk(60.7%, 0%, 65.8%, 54.1%)
CIE-LABlab(43.44, -38.28, 34.97)
CIE-LCHlch(43.44, 51.85, 137.59°)
OKLaboklab(49.97% -0.1043 0.0814)
OKLCHoklch(49.97% 0.132 142.1)
XYZxyz(7.8706, 13.4559, 4.1896)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7528 #6F2875
analogous
#547528 #2E7528 #287548
triadic
#2E7528 #282E75 #75282E
tetradic
#2E7528 #285475 #6F2875 #754828
square
#2E7528 #285475 #6F2875 #754828
split-complementary
#2E7528 #482875 #752854
monochromatic
#0A1A09 #1C4718 #2E7528 #40A338 #5CC453

Accessibility & contrast

On white

5.69
#2E7528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2E7528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7528
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7528#FFFFFF#000000##FFFFFF
##2E75281.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1F
Deuteranopia (green-blind)
#6F642F
Tritanopia (blue-blind)
#237165
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e7528;
/* rgb */ color: rgb(46, 117, 40);
/* oklch */ color: oklch(50.0% 0.132 142.1);
Tailwind
colors: {
  custom: {
    50: '#6f9d65',
    500: '#2e7528',
    950: '#000000',
  },
}
SCSS
$custom: #2e7528;
$custom-light: #6f9d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7528",
  "rgb": {
    "r": 46,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 115.325,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.13232,
    "h": 142.1
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#2E7528
secondary
#A052A7
accent
#4FD9CE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7528

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

Preview Lab → · Contrast checker → · Palette generator →

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