#2D8E2A#2D8E2A

#2D8E2A is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.164 H 142.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2D8E2A
RGBrgb(45, 142, 42)
HSLhsl(118, 54%, 36%)
HSVhsv(118, 70%, 56%)
CMYKcmyk(68.3%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.92, -47.81, 43.28)
CIE-LCHlch(51.92, 64.49, 137.85°)
OKLaboklab(56.97% -0.13 0.0992)
OKLCHoklch(56.97% 0.164 142.7)
XYZxyz(11.1725, 20.0699, 5.4751)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E2A #8B2A8E
analogous
#5F8E2A #2D8E2A #2A8E59
triadic
#2D8E2A #2A2D8E #8E2A2D
tetradic
#2D8E2A #2A5F8E #8B2A8E #8E592A
square
#2D8E2A #2A5F8E #8B2A8E #8E592A
split-complementary
#2D8E2A #592A8E #8E2A5F
monochromatic
#0F300E #1E5F1C #2D8E2A #3CBD38 #65D162

Accessibility & contrast

On white

4.19
#2D8E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2D8E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E2A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E2A#FFFFFF#000000##000000
##2D8E2A1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#168A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e2a;
/* rgb */ color: rgb(45, 142, 42);
/* oklch */ color: oklch(57.0% 0.164 142.7);
Tailwind
colors: {
  custom: {
    50: '#74b069',
    500: '#2d8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e2a;
$custom-light: #74b069;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e2a",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 118.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56969,
    "c": 0.1635,
    "h": 142.7
  },
  "luminance": 0.20071
}

Semantic roles & 50–950 ramp

primary
#2D8E2A
secondary
#B45DB6
accent
#4ADED9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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