#2E7F23#2E7F23

#2E7F23 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.149 H 141.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2E7F23
RGBrgb(46, 127, 35)
HSLhsl(113, 57%, 32%)
HSVhsv(113, 72%, 50%)
CMYKcmyk(63.8%, 0%, 72.4%, 50.2%)
CIE-LABlab(46.82, -42.71, 40.84)
CIE-LCHlch(46.82, 59.09, 136.28°)
OKLaboklab(52.74% -0.1166 0.0931)
OKLCHoklch(52.74% 0.149 141.4)
XYZxyz(9.0190, 15.8801, 4.1797)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F23 #74237F
analogous
#5C7F23 #2E7F23 #237F46
triadic
#2E7F23 #232E7F #7F232E
tetradic
#2E7F23 #235C7F #74237F #7F4623
square
#2E7F23 #235C7F #74237F #7F4623
split-complementary
#2E7F23 #46237F #7F235C
monochromatic
#0B1F09 #1D4F16 #2E7F23 #3FAF30 #5DCE4E

Accessibility & contrast

On white

5.03
#2E7F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2E7F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F23
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F23#FFFFFF#000000##FFFFFF
##2E7F231.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#217B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e7f23;
/* rgb */ color: rgb(46, 127, 35);
/* oklch */ color: oklch(52.7% 0.149 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a563',
    500: '#2e7f23',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f23;
$custom-light: #71a563;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f23",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 112.826,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.14925,
    "h": 141.4
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#2E7F23
secondary
#A54CB1
accent
#48E0CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2E7F23

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

Preview Lab → · Contrast checker → · Palette generator →

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