#2E7B2B#2E7B2B

#2E7B2B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.138 H 142.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2E7B2B
RGBrgb(46, 123, 43)
HSLhsl(118, 48%, 33%)
HSVhsv(118, 65%, 48%)
CMYKcmyk(62.6%, 0%, 65%, 51.8%)
CIE-LABlab(45.52, -40.33, 35.87)
CIE-LCHlch(45.52, 53.98, 138.35°)
OKLaboklab(51.69% -0.1097 0.0836)
OKLCHoklch(51.69% 0.138 142.7)
XYZxyz(8.6452, 14.9204, 4.7094)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B2B #782B7B
analogous
#567B2B #2E7B2B #2B7B50
triadic
#2E7B2B #2B2E7B #7B2B2E
tetradic
#2E7B2B #2B567B #782B7B #7B502B
square
#2E7B2B #2B567B #782B7B #7B502B
split-complementary
#2E7B2B #502B7B #7B2B56
monochromatic
#0C200B #1D4E1B #2E7B2B #3FA83B #5FC65B

Accessibility & contrast

On white

5.27
#2E7B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2E7B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B2B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B2B#FFFFFF#000000##FFFFFF
##2E7B2B1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#20776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7b2b;
/* rgb */ color: rgb(46, 123, 43);
/* oklch */ color: oklch(51.7% 0.138 142.7);
Tailwind
colors: {
  custom: {
    50: '#70a268',
    500: '#2e7b2b',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b2b;
$custom-light: #70a268;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b2b",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 117.75,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.13797,
    "h": 142.7
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E7B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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