#2D8E27#2D8E27

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

Color values

HEX#2D8E27
RGBrgb(45, 142, 39)
HSLhsl(117, 57%, 35%)
HSVhsv(117, 73%, 56%)
CMYKcmyk(68.3%, 0%, 72.5%, 44.3%)
CIE-LABlab(51.89, -48.09, 44.48)
CIE-LCHlch(51.89, 65.51, 137.23°)
OKLaboklab(56.94% -0.1309 0.1013)
OKLCHoklch(56.94% 0.166 142.3)
XYZxyz(11.1208, 20.0492, 5.2029)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E27 #88278E
analogous
#608E27 #2D8E27 #278E54
triadic
#2D8E27 #272D8E #8E272D
tetradic
#2D8E27 #27608E #88278E #8E5427
square
#2D8E27 #27608E #88278E #8E5427
split-complementary
#2D8E27 #54278E #8E2760
monochromatic
#0F2E0D #1E5E1A #2D8E27 #3CBE34 #64D25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8E27#FFFFFF#000000##000000
##2D8E271.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)
#918116
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#178A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e27;
/* rgb */ color: rgb(45, 142, 39);
/* oklch */ color: oklch(56.9% 0.166 142.3);
Tailwind
colors: {
  custom: {
    50: '#74b067',
    500: '#2d8e27',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e27;
$custom-light: #74b067;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e27",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 116.505,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.16553,
    "h": 142.3
  },
  "luminance": 0.2005
}

Semantic roles & 50–950 ramp

primary
#2D8E27
secondary
#B259B8
accent
#48E0D7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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