#2D7A23#2D7A23

#2D7A23 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.143 H 141.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2D7A23
RGBrgb(45, 122, 35)
HSLhsl(113, 55%, 31%)
HSVhsv(113, 71%, 48%)
CMYKcmyk(63.1%, 0%, 71.3%, 52.2%)
CIE-LABlab(45.08, -41.04, 39.00)
CIE-LCHlch(45.08, 56.62, 136.46°)
OKLaboklab(51.29% -0.112 0.0893)
OKLCHoklch(51.29% 0.143 141.4)
XYZxyz(8.3447, 14.5975, 3.9676)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7A23 #70237A
analogous
#587A23 #2D7A23 #237A44
triadic
#2D7A23 #232D7A #7A232D
tetradic
#2D7A23 #23587A #70237A #7A4423
square
#2D7A23 #23587A #70237A #7A4423
split-complementary
#2D7A23 #44237A #7A2358
monochromatic
#0A1B08 #1B4A15 #2D7A23 #3FAA31 #5ACC4C

Accessibility & contrast

On white

5.36
#2D7A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2D7A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7A23
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7A23#FFFFFF#000000##FFFFFF
##2D7A231.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F16
Deuteranopia (green-blind)
#74682B
Tritanopia (blue-blind)
#217668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7a23;
/* rgb */ color: rgb(45, 122, 35);
/* oklch */ color: oklch(51.3% 0.143 141.4);
Tailwind
colors: {
  custom: {
    50: '#70a163',
    500: '#2d7a23',
    950: '#000000',
  },
}
SCSS
$custom: #2d7a23;
$custom-light: #70a163;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7a23",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 113.103,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.14328,
    "h": 141.4
  },
  "luminance": 0.14598
}

Semantic roles & 50–950 ramp

primary
#2D7A23
secondary
#A24CAD
accent
#49DFCE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2D7A23

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

Preview Lab → · Contrast checker → · Palette generator →

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