#2E7E23#2E7E23

#2E7E23 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.148 H 141.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2E7E23
RGBrgb(46, 126, 35)
HSLhsl(113, 57%, 32%)
HSVhsv(113, 72%, 49%)
CMYKcmyk(63.5%, 0%, 72.2%, 50.6%)
CIE-LABlab(46.48, -42.32, 40.48)
CIE-LCHlch(46.48, 58.57, 136.27°)
OKLaboklab(52.46% -0.1156 0.0924)
OKLCHoklch(52.46% 0.148 141.4)
XYZxyz(8.8905, 15.6231, 4.1368)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E23 #73237E
analogous
#5C7E23 #2E7E23 #237E46
triadic
#2E7E23 #232E7E #7E232E
tetradic
#2E7E23 #235C7E #73237E #7E4623
square
#2E7E23 #235C7E #73237E #7E4623
split-complementary
#2E7E23 #46237E #7E235C
monochromatic
#0B1E08 #1D4E16 #2E7E23 #3FAE30 #5DCE4E

Accessibility & contrast

On white

5.09
#2E7E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2E7E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E23
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E23#FFFFFF#000000##FFFFFF
##2E7E231.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#776C2C
Tritanopia (blue-blind)
#217A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e7e23;
/* rgb */ color: rgb(46, 126, 35);
/* oklch */ color: oklch(52.5% 0.148 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a463',
    500: '#2e7e23',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e23;
$custom-light: #71a463;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e23",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 112.747,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.14798,
    "h": 141.4
  },
  "luminance": 0.15624
}

Semantic roles & 50–950 ramp

primary
#2E7E23
secondary
#A44CB0
accent
#48E0CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2E7E23

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

Preview Lab → · Contrast checker → · Palette generator →

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