#2D7E23#2D7E23

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

Color values

HEX#2D7E23
RGBrgb(45, 126, 35)
HSLhsl(113, 57%, 32%)
HSVhsv(113, 72%, 49%)
CMYKcmyk(64.3%, 0%, 72.2%, 50.6%)
CIE-LABlab(46.45, -42.57, 40.44)
CIE-LCHlch(46.45, 58.72, 136.47°)
OKLaboklab(52.42% -0.1162 0.0923)
OKLCHoklch(52.42% 0.148 141.5)
XYZxyz(8.8460, 15.6001, 4.1347)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E23 #74237E
analogous
#5B7E23 #2D7E23 #237E47
triadic
#2D7E23 #232D7E #7E232D
tetradic
#2D7E23 #235B7E #74237E #7E4723
square
#2D7E23 #235B7E #74237E #7E4723
split-complementary
#2D7E23 #47237E #7E235B
monochromatic
#0B1E08 #1C4E16 #2D7E23 #3EAE30 #5CCE4E

Accessibility & contrast

On white

5.10
#2D7E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7E23
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E23#FFFFFF#000000##FFFFFF
##2D7E231.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#1F7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e23;
/* rgb */ color: rgb(45, 126, 35);
/* oklch */ color: oklch(52.4% 0.148 141.5);
Tailwind
colors: {
  custom: {
    50: '#71a463',
    500: '#2d7e23',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e23;
$custom-light: #71a463;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e23",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 113.407,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.14841,
    "h": 141.5
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#2D7E23
secondary
#A54CB0
accent
#48E0CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7E23

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

Preview Lab → · Contrast checker → · Palette generator →

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