#2E792D#2E792D

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

Color values

HEX#2E792D
RGBrgb(46, 121, 45)
HSLhsl(119, 46%, 33%)
HSVhsv(119, 63%, 47%)
CMYKcmyk(62%, 0%, 62.8%, 52.5%)
CIE-LABlab(44.86, -39.30, 34.16)
CIE-LCHlch(44.86, 52.07, 139.00°)
OKLaboklab(51.15% -0.1068 0.0802)
OKLCHoklch(51.15% 0.134 143.1)
XYZxyz(8.4373, 14.4443, 4.8255)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E792D #782D79
analogous
#54792D #2E792D #2D7952
triadic
#2E792D #2D2E79 #792D2E
tetradic
#2E792D #2D5479 #782D79 #79522D
square
#2E792D #2D5479 #782D79 #79522D
split-complementary
#2E792D #522D79 #792D54
monochromatic
#0C200C #1D4C1C #2E792D #3FA63E #5FC35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E792D#FFFFFF#000000##FFFFFF
##2E792D1.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)
#7C6E25
Deuteranopia (green-blind)
#726833
Tritanopia (blue-blind)
#217669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e792d;
/* rgb */ color: rgb(46, 121, 45);
/* oklch */ color: oklch(51.2% 0.134 143.1);
Tailwind
colors: {
  custom: {
    50: '#70a069',
    500: '#2e792d',
    950: '#000000',
  },
}
SCSS
$custom: #2e792d;
$custom-light: #70a069;
$custom-dark: #000000;
JSON
{
  "hex": "#2e792d",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 119.211,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.13356,
    "h": 143.1
  },
  "luminance": 0.14445
}

Semantic roles & 50–950 ramp

primary
#2E792D
secondary
#A858A9
accent
#52D5D4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2E792D

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

Preview Lab → · Contrast checker → · Palette generator →

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