#2D8A28#2D8A28

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

Color values

HEX#2D8A28
RGBrgb(45, 138, 40)
HSLhsl(117, 55%, 35%)
HSVhsv(117, 71%, 54%)
CMYKcmyk(67.4%, 0%, 71%, 45.9%)
CIE-LABlab(50.55, -46.56, 42.67)
CIE-LCHlch(50.55, 63.15, 137.49°)
OKLaboklab(55.84% -0.1267 0.0977)
OKLCHoklch(55.84% 0.16 142.4)
XYZxyz(10.5531, 18.8870, 5.0965)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A28 #85288A
analogous
#5E8A28 #2D8A28 #288A54
triadic
#2D8A28 #282D8A #8A282D
tetradic
#2D8A28 #285E8A #85288A #8A5428
square
#2D8A28 #285E8A #85288A #8A5428
split-complementary
#2D8A28 #54288A #8A285E
monochromatic
#0E2B0C #1E5B1A #2D8A28 #3CB936 #62D05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8A28#FFFFFF#000000##000000
##2D8A281.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)
#8D7D19
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#198676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a28;
/* rgb */ color: rgb(45, 138, 40);
/* oklch */ color: oklch(55.8% 0.160 142.4);
Tailwind
colors: {
  custom: {
    50: '#73ad68',
    500: '#2d8a28',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a28;
$custom-light: #73ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a28",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 116.939,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.15996,
    "h": 142.4
  },
  "luminance": 0.18888
}

Semantic roles & 50–950 ramp

primary
#2D8A28
secondary
#B059B5
accent
#49DED7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8A28

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

Preview Lab → · Contrast checker → · Palette generator →

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