#2E792F#2E792F

#2E792F is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.132 H 143.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2E792F
RGBrgb(46, 121, 47)
HSLhsl(121, 45%, 33%)
HSVhsv(121, 62%, 47%)
CMYKcmyk(62%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.89, -39.05, 33.20)
CIE-LCHlch(44.89, 51.25, 139.63°)
OKLaboklab(51.18% -0.106 0.0783)
OKLCHoklch(51.18% 0.132 143.6)
XYZxyz(8.4767, 14.4600, 5.0331)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E792F #792E78
analogous
#52792E #2E792F #2E7954
triadic
#2E792F #2F2E79 #792F2E
tetradic
#2E792F #2E5279 #792E78 #79542E
square
#2E792F #2E5279 #792E78 #79542E
split-complementary
#2E792F #542E79 #792E52
monochromatic
#0C200D #1D4D1E #2E792F #3FA540 #5FC260

Accessibility & contrast

On white

5.40
#2E792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2E792F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E792F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E792F#FFFFFF#000000##FFFFFF
##2E792F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E27
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#207669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e792f;
/* rgb */ color: rgb(46, 121, 47);
/* oklch */ color: oklch(51.2% 0.132 143.6);
Tailwind
colors: {
  custom: {
    50: '#70a06a',
    500: '#2e792f',
    950: '#000000',
  },
}
SCSS
$custom: #2e792f;
$custom-light: #70a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e792f",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 120.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.1318,
    "h": 143.6
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#2E792F
secondary
#A95AA8
accent
#53D3D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2E792F

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

Preview Lab → · Contrast checker → · Palette generator →

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