#2E7A2B#2E7A2B

#2E7A2B is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.137 H 142.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2E7A2B
RGBrgb(46, 122, 43)
HSLhsl(118, 48%, 32%)
HSVhsv(118, 65%, 48%)
CMYKcmyk(62.3%, 0%, 64.8%, 52.2%)
CIE-LABlab(45.18, -39.94, 35.49)
CIE-LCHlch(45.18, 53.43, 138.37°)
OKLaboklab(51.41% -0.1086 0.0828)
OKLCHoklch(51.41% 0.137 142.7)
XYZxyz(8.5218, 14.6735, 4.6682)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A2B #772B7A
analogous
#557A2B #2E7A2B #2B7A50
triadic
#2E7A2B #2B2E7A #7A2B2E
tetradic
#2E7A2B #2B557A #772B7A #7A502B
square
#2E7A2B #2B557A #772B7A #7A502B
split-complementary
#2E7A2B #502B7A #7A2B55
monochromatic
#0C1F0B #1D4D1B #2E7A2B #3FA73B #5EC55A

Accessibility & contrast

On white

5.34
#2E7A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2E7A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A2B
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A2B#FFFFFF#000000##FFFFFF
##2E7A2B1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F22
Deuteranopia (green-blind)
#736832
Tritanopia (blue-blind)
#217669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7a2b;
/* rgb */ color: rgb(46, 122, 43);
/* oklch */ color: oklch(51.4% 0.137 142.7);
Tailwind
colors: {
  custom: {
    50: '#70a168',
    500: '#2e7a2b',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a2b;
$custom-light: #70a168;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a2b",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 117.722,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.13661,
    "h": 142.7
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#2E7A2B
secondary
#A856AB
accent
#50D7D2
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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