#2D8F27#2D8F27

#2D8F27 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.167 H 142.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2D8F27
RGBrgb(45, 143, 39)
HSLhsl(117, 57%, 36%)
HSVhsv(117, 73%, 56%)
CMYKcmyk(68.5%, 0%, 72.7%, 43.9%)
CIE-LABlab(52.23, -48.45, 44.83)
CIE-LCHlch(52.23, 66.01, 137.22°)
OKLaboklab(57.22% -0.1319 0.102)
OKLCHoklch(57.22% 0.167 142.3)
XYZxyz(11.2702, 20.3481, 5.2527)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F27 #89278F
analogous
#618F27 #2D8F27 #278F55
triadic
#2D8F27 #272D8F #8F272D
tetradic
#2D8F27 #27618F #89278F #8F5527
square
#2D8F27 #27618F #89278F #8F5527
split-complementary
#2D8F27 #55278F #8F2761
monochromatic
#0F2F0D #1E5F1A #2D8F27 #3CBF34 #64D35D

Accessibility & contrast

On white

4.14
#2D8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2D8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F27
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F27#FFFFFF#000000##000000
##2D8F271.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#168B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f27;
/* rgb */ color: rgb(45, 143, 39);
/* oklch */ color: oklch(57.2% 0.167 142.3);
Tailwind
colors: {
  custom: {
    50: '#74b168',
    500: '#2d8f27',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f27;
$custom-light: #74b168;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f27",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 116.538,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.16674,
    "h": 142.3
  },
  "luminance": 0.20349
}

Semantic roles & 50–950 ramp

primary
#2D8F27
secondary
#B35AB8
accent
#47E0D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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