#2E7D23#2E7D23

#2E7D23 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.147 H 141.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2E7D23
RGBrgb(46, 125, 35)
HSLhsl(113, 56%, 31%)
HSVhsv(113, 72%, 49%)
CMYKcmyk(63.2%, 0%, 72%, 51%)
CIE-LABlab(46.13, -41.94, 40.12)
CIE-LCHlch(46.13, 58.04, 136.27°)
OKLaboklab(52.18% -0.1145 0.0916)
OKLCHoklch(52.18% 0.147 141.3)
XYZxyz(8.7633, 15.3686, 4.0944)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D23 #72237D
analogous
#5B7D23 #2E7D23 #237D45
triadic
#2E7D23 #232E7D #7D232E
tetradic
#2E7D23 #235B7D #72237D #7D4523
square
#2E7D23 #235B7D #72237D #7D4523
split-complementary
#2E7D23 #45237D #7D235B
monochromatic
#0B1D08 #1C4D16 #2E7D23 #40AD30 #5DCD4D

Accessibility & contrast

On white

5.15
#2E7D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2E7D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D23
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D23#FFFFFF#000000##FFFFFF
##2E7D231.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#766B2C
Tritanopia (blue-blind)
#21796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d23;
/* rgb */ color: rgb(46, 125, 35);
/* oklch */ color: oklch(52.2% 0.147 141.3);
Tailwind
colors: {
  custom: {
    50: '#71a363',
    500: '#2e7d23',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d23;
$custom-light: #71a363;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d23",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 112.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.1467,
    "h": 141.3
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#2E7D23
secondary
#A34CAF
accent
#48E0CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2E7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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