#2E793C#2E793C

#2E793C is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.119 H 147.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2E793C
RGBrgb(46, 121, 60)
HSLhsl(131, 45%, 33%)
HSVhsv(131, 62%, 47%)
CMYKcmyk(62%, 0%, 50.4%, 52.5%)
CIE-LABlab(45.05, -37.15, 26.60)
CIE-LCHlch(45.05, 45.69, 144.40°)
OKLaboklab(51.38% -0.1005 0.0647)
OKLCHoklch(51.38% 0.119 147.2)
XYZxyz(8.7791, 14.5810, 6.6259)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E793C #792E6B
analogous
#45792E #2E793C #2E7961
triadic
#2E793C #3C2E79 #793C2E
tetradic
#2E793C #2E4579 #792E6B #79612E
square
#2E793C #2E4579 #792E6B #79612E
split-complementary
#2E793C #612E79 #792E45
monochromatic
#0C2010 #1D4D26 #2E793C #3FA552 #5FC272

Accessibility & contrast

On white

5.36
#2E793C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2E793C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E793C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E793C#FFFFFF#000000##FFFFFF
##2E793C1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F37
Deuteranopia (green-blind)
#716840
Tritanopia (blue-blind)
#1C766B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e793c;
/* rgb */ color: rgb(46, 121, 60);
/* oklch */ color: oklch(51.4% 0.119 147.2);
Tailwind
colors: {
  custom: {
    50: '#6fa073',
    500: '#2e793c',
    950: '#000000',
  },
}
SCSS
$custom: #2e793c;
$custom-light: #6fa073;
$custom-dark: #000000;
JSON
{
  "hex": "#2e793c",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 60
  },
  "hsl": {
    "h": 131.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.11946,
    "h": 147.2
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#2E793C
secondary
#A95A9A
accent
#53BCD5
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2E793C

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

Preview Lab → · Contrast checker → · Palette generator →

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