#2E7C29#2E7C29

#2E7C29 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.141 H 142.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2E7C29
RGBrgb(46, 124, 41)
HSLhsl(116, 50%, 32%)
HSVhsv(116, 67%, 49%)
CMYKcmyk(62.9%, 0%, 66.9%, 51.4%)
CIE-LABlab(45.85, -40.95, 37.17)
CIE-LCHlch(45.85, 55.30, 137.77°)
OKLaboklab(51.95% -0.1115 0.0862)
OKLCHoklch(51.95% 0.141 142.3)
XYZxyz(8.7341, 15.1554, 4.5624)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C29 #77297C
analogous
#577C29 #2E7C29 #297C4E
triadic
#2E7C29 #292E7C #7C292E
tetradic
#2E7C29 #29577C #77297C #7C4E29
square
#2E7C29 #29577C #77297C #7C4E29
split-complementary
#2E7C29 #4E297C #7C2957
monochromatic
#0C200B #1D4E1A #2E7C29 #3FAA38 #5EC858

Accessibility & contrast

On white

5.21
#2E7C29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2E7C29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C29
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C29#FFFFFF#000000##FFFFFF
##2E7C291.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#21786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7c29;
/* rgb */ color: rgb(46, 124, 41);
/* oklch */ color: oklch(52.0% 0.141 142.3);
Tailwind
colors: {
  custom: {
    50: '#70a367',
    500: '#2e7c29',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c29;
$custom-light: #70a367;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c29",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 116.386,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.14091,
    "h": 142.3
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#2E7C29
secondary
#A854AD
accent
#4EDAD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7C29

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

Preview Lab → · Contrast checker → · Palette generator →

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