#2E7529#2E7529

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

Color values

HEX#2E7529
RGBrgb(46, 117, 41)
HSLhsl(116, 48%, 31%)
HSVhsv(116, 65%, 46%)
CMYKcmyk(60.7%, 0%, 65%, 54.1%)
CIE-LABlab(43.45, -38.17, 34.50)
CIE-LCHlch(43.45, 51.45, 137.89°)
OKLaboklab(49.98% -0.104 0.0805)
OKLCHoklch(49.98% 0.131 142.3)
XYZxyz(7.8878, 13.4628, 4.2803)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7529 #702975
analogous
#547529 #2E7529 #29754A
triadic
#2E7529 #292E75 #75292E
tetradic
#2E7529 #295475 #702975 #754A29
square
#2E7529 #295475 #702975 #754A29
split-complementary
#2E7529 #4A2975 #752954
monochromatic
#0A1A09 #1C4819 #2E7529 #40A239 #5CC355

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7529#FFFFFF#000000##FFFFFF
##2E75291.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)
#786A20
Deuteranopia (green-blind)
#6F642F
Tritanopia (blue-blind)
#237265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e7529;
/* rgb */ color: rgb(46, 117, 41);
/* oklch */ color: oklch(50.0% 0.131 142.3);
Tailwind
colors: {
  custom: {
    50: '#6f9d66',
    500: '#2e7529',
    950: '#000000',
  },
}
SCSS
$custom: #2e7529;
$custom-light: #6f9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7529",
  "rgb": {
    "r": 46,
    "g": 117,
    "b": 41
  },
  "hsl": {
    "h": 116.053,
    "s": 48.101,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49978,
    "c": 0.13149,
    "h": 142.3
  },
  "luminance": 0.13464
}

Semantic roles & 50–950 ramp

primary
#2E7529
secondary
#A153A7
accent
#50D8CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7529

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

Preview Lab → · Contrast checker → · Palette generator →

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