#2E7D2B#2E7D2B

#2E7D2B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.141 H 142.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2E7D2B
RGBrgb(46, 125, 43)
HSLhsl(118, 49%, 33%)
HSVhsv(118, 66%, 49%)
CMYKcmyk(63.2%, 0%, 65.6%, 51%)
CIE-LABlab(46.21, -41.12, 36.64)
CIE-LCHlch(46.21, 55.07, 138.30°)
OKLaboklab(52.26% -0.1118 0.0853)
OKLCHoklch(52.26% 0.141 142.7)
XYZxyz(8.8959, 15.4216, 4.7929)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D2B #7A2B7D
analogous
#577D2B #2E7D2B #2B7D51
triadic
#2E7D2B #2B2E7D #7D2B2E
tetradic
#2E7D2B #2B577D #7A2B7D #7D512B
square
#2E7D2B #2B577D #7A2B7D #7D512B
split-complementary
#2E7D2B #512B7D #7D2B57
monochromatic
#0C220C #1D4F1B #2E7D2B #3FAB3B #60C75C

Accessibility & contrast

On white

5.14
#2E7D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2E7D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D2B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D2B#FFFFFF#000000##FFFFFF
##2E7D2B1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807221
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#20796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d2b;
/* rgb */ color: rgb(46, 125, 43);
/* oklch */ color: oklch(52.3% 0.141 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a368',
    500: '#2e7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d2b;
$custom-light: #71a368;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d2b",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 117.805,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.14063,
    "h": 142.7
  },
  "luminance": 0.15422
}

Semantic roles & 50–950 ramp

primary
#2E7D2B
secondary
#AA57AD
accent
#4FD8D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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