#2E7C23#2E7C23

#2E7C23 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.145 H 141.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2E7C23
RGBrgb(46, 124, 35)
HSLhsl(113, 56%, 31%)
HSVhsv(113, 72%, 49%)
CMYKcmyk(62.9%, 0%, 71.8%, 51.4%)
CIE-LABlab(45.79, -41.56, 39.77)
CIE-LCHlch(45.79, 57.52, 136.26°)
OKLaboklab(51.89% -0.1135 0.0909)
OKLCHoklch(51.89% 0.145 141.3)
XYZxyz(8.6373, 15.1167, 4.0524)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C23 #71237C
analogous
#5A7C23 #2E7C23 #237C44
triadic
#2E7C23 #232E7C #7C232E
tetradic
#2E7C23 #235A7C #71237C #7C4423
square
#2E7C23 #235A7C #71237C #7C4423
split-complementary
#2E7C23 #44237C #7C235A
monochromatic
#0B1D08 #1C4C16 #2E7C23 #40AC30 #5DCD4D

Accessibility & contrast

On white

5.22
#2E7C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2E7C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C23
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C23#FFFFFF#000000##FFFFFF
##2E7C231.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7016
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#22786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7c23;
/* rgb */ color: rgb(46, 124, 35);
/* oklch */ color: oklch(51.9% 0.145 141.3);
Tailwind
colors: {
  custom: {
    50: '#71a363',
    500: '#2e7c23',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c23;
$custom-light: #71a363;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c23",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 112.584,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.14542,
    "h": 141.3
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#2E7C23
secondary
#A24CAF
accent
#49DFCD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2E7C23

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

Preview Lab → · Contrast checker → · Palette generator →

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