#2D8D27#2D8D27

#2D8D27 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.164 H 142.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2D8D27
RGBrgb(45, 141, 39)
HSLhsl(116, 57%, 35%)
HSVhsv(116, 72%, 55%)
CMYKcmyk(68.1%, 0%, 72.3%, 44.7%)
CIE-LABlab(51.56, -47.73, 44.13)
CIE-LCHlch(51.56, 65.01, 137.24°)
OKLaboklab(56.66% -0.1299 0.1006)
OKLCHoklch(56.66% 0.164 142.3)
XYZxyz(10.9727, 19.7530, 5.1535)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8D27 #87278D
analogous
#608D27 #2D8D27 #278D54
triadic
#2D8D27 #272D8D #8D272D
tetradic
#2D8D27 #27608D #87278D #8D5427
square
#2D8D27 #27608D #87278D #8D5427
split-complementary
#2D8D27 #54278D #8D2760
monochromatic
#0E2D0C #1E5D1A #2D8D27 #3CBD34 #63D25C

Accessibility & contrast

On white

4.24
#2D8D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2D8D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8D27
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8D27#FFFFFF#000000##000000
##2D8D271.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908017
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#188979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8d27;
/* rgb */ color: rgb(45, 141, 39);
/* oklch */ color: oklch(56.7% 0.164 142.3);
Tailwind
colors: {
  custom: {
    50: '#74af67',
    500: '#2d8d27',
    950: '#000000',
  },
}
SCSS
$custom: #2d8d27;
$custom-light: #74af67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8d27",
  "rgb": {
    "r": 45,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 116.471,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.16432,
    "h": 142.3
  },
  "luminance": 0.19754
}

Semantic roles & 50–950 ramp

primary
#2D8D27
secondary
#B259B7
accent
#48E0D7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8D27

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

Preview Lab → · Contrast checker → · Palette generator →

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