#2E7527#2E7527

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

Color values

HEX#2E7527
RGBrgb(46, 117, 39)
HSLhsl(115, 50%, 31%)
HSVhsv(115, 67%, 46%)
CMYKcmyk(60.7%, 0%, 66.7%, 54.1%)
CIE-LABlab(43.43, -38.39, 35.43)
CIE-LCHlch(43.43, 52.24, 137.30°)
OKLaboklab(49.96% -0.1047 0.0822)
OKLCHoklch(49.96% 0.133 141.9)
XYZxyz(7.8538, 13.4492, 4.1011)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7527 #6E2775
analogous
#557527 #2E7527 #277547
triadic
#2E7527 #272E75 #75272E
tetradic
#2E7527 #275575 #6E2775 #754727
square
#2E7527 #275575 #6E2775 #754727
split-complementary
#2E7527 #472775 #752755
monochromatic
#0A1908 #1C4718 #2E7527 #40A336 #5CC551

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7527#FFFFFF#000000##FFFFFF
##2E75271.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)
#786A1E
Deuteranopia (green-blind)
#6F642E
Tritanopia (blue-blind)
#237165
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e7527;
/* rgb */ color: rgb(46, 117, 39);
/* oklch */ color: oklch(50.0% 0.133 141.9);
Tailwind
colors: {
  custom: {
    50: '#6f9d65',
    500: '#2e7527',
    950: '#000000',
  },
}
SCSS
$custom: #2e7527;
$custom-light: #6f9d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7527",
  "rgb": {
    "r": 46,
    "g": 117,
    "b": 39
  },
  "hsl": {
    "h": 114.615,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.13315,
    "h": 141.9
  },
  "luminance": 0.1345
}

Semantic roles & 50–950 ramp

primary
#2E7527
secondary
#9F51A7
accent
#4EDACD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7527

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

Preview Lab → · Contrast checker → · Palette generator →

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