#2E792B#2E792B

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

Color values

HEX#2E792B
RGBrgb(46, 121, 43)
HSLhsl(118, 48%, 32%)
HSVhsv(118, 64%, 47%)
CMYKcmyk(62%, 0%, 64.5%, 52.5%)
CIE-LABlab(44.84, -39.54, 35.11)
CIE-LCHlch(44.84, 52.87, 138.40°)
OKLaboklab(51.13% -0.1076 0.082)
OKLCHoklch(51.13% 0.135 142.7)
XYZxyz(8.3997, 14.4292, 4.6275)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E792B #762B79
analogous
#55792B #2E792B #2B794F
triadic
#2E792B #2B2E79 #792B2E
tetradic
#2E792B #2B5579 #762B79 #794F2B
square
#2E792B #2B5579 #762B79 #794F2B
split-complementary
#2E792B #4F2B79 #792B55
monochromatic
#0C1F0B #1D4C1B #2E792B #3FA63B #5EC45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E792B#FFFFFF#000000##FFFFFF
##2E792B1.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)
#7C6E22
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#217568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e792b;
/* rgb */ color: rgb(46, 121, 43);
/* oklch */ color: oklch(51.1% 0.135 142.7);
Tailwind
colors: {
  custom: {
    50: '#70a068',
    500: '#2e792b',
    950: '#000000',
  },
}
SCSS
$custom: #2e792b;
$custom-light: #70a068;
$custom-dark: #000000;
JSON
{
  "hex": "#2e792b",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 117.692,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51131,
    "c": 0.13526,
    "h": 142.7
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#2E792B
secondary
#A756AA
accent
#51D7D2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2E792B

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

Preview Lab → · Contrast checker → · Palette generator →

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