#2E7E29#2E7E29

#2E7E29 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.144 H 142.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2E7E29
RGBrgb(46, 126, 41)
HSLhsl(116, 51%, 33%)
HSVhsv(116, 67%, 49%)
CMYKcmyk(63.5%, 0%, 67.5%, 50.6%)
CIE-LABlab(46.53, -41.73, 37.91)
CIE-LCHlch(46.53, 56.38, 137.74°)
OKLaboklab(52.52% -0.1136 0.0877)
OKLCHoklch(52.52% 0.144 142.3)
XYZxyz(8.9873, 15.6618, 4.6468)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E29 #79297E
analogous
#587E29 #2E7E29 #297E4F
triadic
#2E7E29 #292E7E #7E292E
tetradic
#2E7E29 #29587E #79297E #7E4F29
square
#2E7E29 #29587E #79297E #7E4F29
split-complementary
#2E7E29 #4F297E #7E2958
monochromatic
#0C220B #1D501A #2E7E29 #3FAC38 #5FC959

Accessibility & contrast

On white

5.08
#2E7E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2E7E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E29
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E29#FFFFFF#000000##FFFFFF
##2E7E291.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721E
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#207A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e29;
/* rgb */ color: rgb(46, 126, 41);
/* oklch */ color: oklch(52.5% 0.144 142.3);
Tailwind
colors: {
  custom: {
    50: '#71a467',
    500: '#2e7e29',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e29;
$custom-light: #71a467;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e29",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 116.471,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52516,
    "c": 0.14355,
    "h": 142.3
  },
  "luminance": 0.15663
}

Semantic roles & 50–950 ramp

primary
#2E7E29
secondary
#A955AE
accent
#4DDAD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7E29

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

Preview Lab → · Contrast checker → · Palette generator →

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