#2E7E2B#2E7E2B

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

Color values

HEX#2E7E2B
RGBrgb(46, 126, 43)
HSLhsl(118, 49%, 33%)
HSVhsv(118, 66%, 49%)
CMYKcmyk(63.5%, 0%, 65.9%, 50.6%)
CIE-LABlab(46.55, -41.51, 37.01)
CIE-LCHlch(46.55, 55.61, 138.27°)
OKLaboklab(52.54% -0.1129 0.0861)
OKLCHoklch(52.54% 0.142 142.7)
XYZxyz(9.0231, 15.6761, 4.8353)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E2B #7B2B7E
analogous
#577E2B #2E7E2B #2B7E51
triadic
#2E7E2B #2B2E7E #7E2B2E
tetradic
#2E7E2B #2B577E #7B2B7E #7E512B
square
#2E7E2B #2B577E #7B2B7E #7E512B
split-complementary
#2E7E2B #512B7E #7E2B57
monochromatic
#0D230C #1D501B #2E7E2B #3FAC3B #60C75C

Accessibility & contrast

On white

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

On black

4.14
#2E7E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E7E2B#FFFFFF#000000##FFFFFF
##2E7E2B1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817221
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#1F7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e2b;
/* rgb */ color: rgb(46, 126, 43);
/* oklch */ color: oklch(52.5% 0.142 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a468',
    500: '#2e7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e2b;
$custom-light: #71a468;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e2b",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 117.831,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.14197,
    "h": 142.7
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#2E7E2B
secondary
#AA58AD
accent
#4FD9D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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