#2D7C23#2D7C23

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

Color values

HEX#2D7C23
RGBrgb(45, 124, 35)
HSLhsl(113, 56%, 31%)
HSVhsv(113, 72%, 49%)
CMYKcmyk(63.7%, 0%, 71.8%, 51.4%)
CIE-LABlab(45.76, -41.81, 39.72)
CIE-LCHlch(45.76, 57.67, 136.47°)
OKLaboklab(51.86% -0.1141 0.0908)
OKLCHoklch(51.86% 0.146 141.5)
XYZxyz(8.5928, 15.0937, 4.0503)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C23 #72237C
analogous
#597C23 #2D7C23 #237C45
triadic
#2D7C23 #232D7C #7C232D
tetradic
#2D7C23 #23597C #72237C #7C4523
square
#2D7C23 #23597C #72237C #7C4523
split-complementary
#2D7C23 #45237C #7C2359
monochromatic
#0A1D08 #1C4C16 #2D7C23 #3EAC30 #5BCD4D

Accessibility & contrast

On white

5.23
#2D7C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7C23
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C23#FFFFFF#000000##FFFFFF
##2D7C231.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d7c23;
/* rgb */ color: rgb(45, 124, 35);
/* oklch */ color: oklch(51.9% 0.146 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a363',
    500: '#2d7c23',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c23;
$custom-light: #70a363;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c23",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 113.258,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.14585,
    "h": 141.5
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#2D7C23
secondary
#A34CAF
accent
#49DFCE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2D7C23

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

Preview Lab → · Contrast checker → · Palette generator →

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