#2E782F#2E782F

#2E782F is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.130 H 143.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2E782F
RGBrgb(46, 120, 47)
HSLhsl(121, 45%, 33%)
HSVhsv(121, 62%, 47%)
CMYKcmyk(61.7%, 0%, 60.8%, 52.9%)
CIE-LABlab(44.54, -38.64, 32.80)
CIE-LCHlch(44.54, 50.69, 139.67°)
OKLaboklab(50.9% -0.1049 0.0774)
OKLCHoklch(50.9% 0.13 143.6)
XYZxyz(8.3558, 14.2183, 4.9928)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E782F #782E77
analogous
#52782E #2E782F #2E7854
triadic
#2E782F #2F2E78 #782F2E
tetradic
#2E782F #2E5278 #782E77 #78542E
square
#2E782F #2E5278 #782E77 #78542E
split-complementary
#2E782F #542E78 #782E52
monochromatic
#0C200C #1D4C1E #2E782F #3FA440 #5FC260

Accessibility & contrast

On white

5.46
#2E782F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2E782F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E782F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E782F#FFFFFF#000000##FFFFFF
##2E782F1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D28
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#207568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e782f;
/* rgb */ color: rgb(46, 120, 47);
/* oklch */ color: oklch(50.9% 0.130 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fa06a',
    500: '#2e782f',
    950: '#000000',
  },
}
SCSS
$custom: #2e782f;
$custom-light: #6fa06a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e782f",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 120.811,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50899,
    "c": 0.13042,
    "h": 143.6
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

primary
#2E782F
secondary
#A85AA7
accent
#54D3D4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2E782F

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

Preview Lab → · Contrast checker → · Palette generator →

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