#2E7F29#2E7F29

#2E7F29 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.145 H 142.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2E7F29
RGBrgb(46, 127, 41)
HSLhsl(117, 51%, 33%)
HSVhsv(117, 68%, 50%)
CMYKcmyk(63.8%, 0%, 67.7%, 50.2%)
CIE-LABlab(46.87, -42.11, 38.29)
CIE-LCHlch(46.87, 56.91, 137.72°)
OKLaboklab(52.8% -0.1147 0.0885)
OKLCHoklch(52.8% 0.145 142.3)
XYZxyz(9.1158, 15.9188, 4.6896)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F29 #7A297F
analogous
#597F29 #2E7F29 #297F4F
triadic
#2E7F29 #292E7F #7F292E
tetradic
#2E7F29 #29597F #7A297F #7F4F29
square
#2E7F29 #29597F #7A297F #7F4F29
split-complementary
#2E7F29 #4F297F #7F2959
monochromatic
#0C220B #1D511A #2E7F29 #3FAD38 #60C959

Accessibility & contrast

On white

5.02
#2E7F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2E7F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F29
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F29#FFFFFF#000000##FFFFFF
##2E7F291.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731E
Deuteranopia (green-blind)
#786C31
Tritanopia (blue-blind)
#1F7B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f29;
/* rgb */ color: rgb(46, 127, 41);
/* oklch */ color: oklch(52.8% 0.145 142.3);
Tailwind
colors: {
  custom: {
    50: '#71a567',
    500: '#2e7f29',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f29;
$custom-light: #71a567;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f29",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 116.512,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.14486,
    "h": 142.3
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#2E7F29
secondary
#AA55AF
accent
#4DDBD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7F29

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

Preview Lab → · Contrast checker → · Palette generator →

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