#2E7B2C#2E7B2C

#2E7B2C is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.137 H 142.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2E7B2C
RGBrgb(46, 123, 44)
HSLhsl(118, 47%, 33%)
HSVhsv(118, 64%, 48%)
CMYKcmyk(62.6%, 0%, 64.2%, 51.8%)
CIE-LABlab(45.54, -40.21, 35.41)
CIE-LCHlch(45.54, 53.58, 138.64°)
OKLaboklab(51.71% -0.1093 0.0827)
OKLCHoklch(51.71% 0.137 142.9)
XYZxyz(8.6638, 14.9278, 4.8072)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B2C #792C7B
analogous
#557B2C #2E7B2C #2C7B51
triadic
#2E7B2C #2C2E7B #7B2C2E
tetradic
#2E7B2C #2C557B #792C7B #7B512C
square
#2E7B2C #2C557B #792C7B #7B512C
split-complementary
#2E7B2C #512C7B #7B2C55
monochromatic
#0C210C #1D4E1C #2E7B2C #3FA83C #5FC55D

Accessibility & contrast

On white

5.27
#2E7B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2E7B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B2C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B2C#FFFFFF#000000##FFFFFF
##2E7B2C1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#20776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7b2c;
/* rgb */ color: rgb(46, 123, 44);
/* oklch */ color: oklch(51.7% 0.137 142.9);
Tailwind
colors: {
  custom: {
    50: '#70a268',
    500: '#2e7b2c',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b2c;
$custom-light: #70a268;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b2c",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 118.481,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.13713,
    "h": 142.9
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#2E7B2C
secondary
#A958AB
accent
#51D7D4
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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