#2E7A2C#2E7A2C

#2E7A2C is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.136 H 142.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2E7A2C
RGBrgb(46, 122, 44)
HSLhsl(118, 47%, 33%)
HSVhsv(118, 64%, 48%)
CMYKcmyk(62.3%, 0%, 63.9%, 52.2%)
CIE-LABlab(45.19, -39.82, 35.02)
CIE-LCHlch(45.19, 53.03, 138.67°)
OKLaboklab(51.43% -0.1083 0.0819)
OKLCHoklch(51.43% 0.136 142.9)
XYZxyz(8.5404, 14.6810, 4.7660)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A2C #782C7A
analogous
#557A2C #2E7A2C #2C7A51
triadic
#2E7A2C #2C2E7A #7A2C2E
tetradic
#2E7A2C #2C557A #782C7A #7A512C
square
#2E7A2C #2C557A #782C7A #7A512C
split-complementary
#2E7A2C #512C7A #7A2C55
monochromatic
#0C200C #1D4D1C #2E7A2C #3FA73C #5FC45C

Accessibility & contrast

On white

5.33
#2E7A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2E7A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A2C
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A2C#FFFFFF#000000##FFFFFF
##2E7A2C1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F23
Deuteranopia (green-blind)
#736832
Tritanopia (blue-blind)
#217669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7a2c;
/* rgb */ color: rgb(46, 122, 44);
/* oklch */ color: oklch(51.4% 0.136 142.9);
Tailwind
colors: {
  custom: {
    50: '#70a168',
    500: '#2e7a2c',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a2c;
$custom-light: #70a168;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a2c",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 118.462,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.13578,
    "h": 142.9
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#2E7A2C
secondary
#A857AA
accent
#51D7D3
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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