#2D8B27#2D8B27

#2D8B27 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.162 H 142.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2D8B27
RGBrgb(45, 139, 39)
HSLhsl(116, 56%, 35%)
HSVhsv(116, 72%, 55%)
CMYKcmyk(67.6%, 0%, 71.9%, 45.5%)
CIE-LABlab(50.88, -47.01, 43.43)
CIE-LCHlch(50.88, 64.00, 137.27°)
OKLaboklab(56.11% -0.128 0.0991)
OKLCHoklch(56.11% 0.162 142.2)
XYZxyz(10.6804, 19.1685, 5.0561)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B27 #85278B
analogous
#5F8B27 #2D8B27 #278B53
triadic
#2D8B27 #272D8B #8B272D
tetradic
#2D8B27 #275F8B #85278B #8B5327
square
#2D8B27 #275F8B #85278B #8B5327
split-complementary
#2D8B27 #53278B #8B275F
monochromatic
#0E2B0C #1E5B1A #2D8B27 #3CBB34 #62D15B

Accessibility & contrast

On white

4.34
#2D8B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2D8B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B27
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B27#FFFFFF#000000##000000
##2D8B271.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E17
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#198777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b27;
/* rgb */ color: rgb(45, 139, 39);
/* oklch */ color: oklch(56.1% 0.162 142.2);
Tailwind
colors: {
  custom: {
    50: '#73ae67',
    500: '#2d8b27',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b27;
$custom-light: #73ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b27",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 116.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56106,
    "c": 0.16188,
    "h": 142.2
  },
  "luminance": 0.1917
}

Semantic roles & 50–950 ramp

primary
#2D8B27
secondary
#B058B6
accent
#48DFD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8B27

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

Preview Lab → · Contrast checker → · Palette generator →

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