#2E7229#2E7229

#2E7229 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.127 H 142.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2E7229
RGBrgb(46, 114, 41)
HSLhsl(116, 47%, 30%)
HSVhsv(116, 64%, 45%)
CMYKcmyk(59.6%, 0%, 64%, 55.3%)
CIE-LABlab(42.42, -36.94, 33.34)
CIE-LCHlch(42.42, 49.76, 137.94°)
OKLaboklab(49.13% -0.1007 0.078)
OKLCHoklch(49.13% 0.127 142.2)
XYZxyz(7.5439, 12.7749, 4.1657)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7229 #6D2972
analogous
#537229 #2E7229 #297248
triadic
#2E7229 #292E72 #72292E
tetradic
#2E7229 #295372 #6D2972 #724829
square
#2E7229 #295372 #6D2972 #724829
split-complementary
#2E7229 #482972 #722953
monochromatic
#0A1809 #1C4519 #2E7229 #409F39 #5BC154

Accessibility & contrast

On white

5.91
#2E7229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2E7229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7229
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7229#FFFFFF#000000##FFFFFF
##2E72291.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756821
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#246F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7229;
/* rgb */ color: rgb(46, 114, 41);
/* oklch */ color: oklch(49.1% 0.127 142.2);
Tailwind
colors: {
  custom: {
    50: '#6e9b66',
    500: '#2e7229',
    950: '#000000',
  },
}
SCSS
$custom: #2e7229;
$custom-light: #6e9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7229",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 115.89,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.12734,
    "h": 142.2
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#2E7229
secondary
#9F53A4
accent
#51D7CE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7229

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

Preview Lab → · Contrast checker → · Palette generator →

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