#2D8A27#2D8A27

#2D8A27 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.161 H 142.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2D8A27
RGBrgb(45, 138, 39)
HSLhsl(116, 56%, 35%)
HSVhsv(116, 72%, 54%)
CMYKcmyk(67.4%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.55, -46.65, 43.08)
CIE-LCHlch(50.55, 63.50, 137.28°)
OKLaboklab(55.83% -0.127 0.0984)
OKLCHoklch(55.83% 0.161 142.2)
XYZxyz(10.5363, 18.8803, 5.0081)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A27 #84278A
analogous
#5E8A27 #2D8A27 #278A53
triadic
#2D8A27 #272D8A #8A272D
tetradic
#2D8A27 #275E8A #84278A #8A5327
square
#2D8A27 #275E8A #84278A #8A5327
split-complementary
#2D8A27 #53278A #8A275E
monochromatic
#0E2B0C #1D5A1A #2D8A27 #3DBA34 #62D15B

Accessibility & contrast

On white

4.40
#2D8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2D8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A27
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A27#FFFFFF#000000##000000
##2D8A271.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D18
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#198676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a27;
/* rgb */ color: rgb(45, 138, 39);
/* oklch */ color: oklch(55.8% 0.161 142.2);
Tailwind
colors: {
  custom: {
    50: '#73ad67',
    500: '#2d8a27',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a27;
$custom-light: #73ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a27",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 116.364,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55827,
    "c": 0.16065,
    "h": 142.2
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#2D8A27
secondary
#B057B6
accent
#49DFD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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