#2D8B2A#2D8B2A

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

Color values

HEX#2D8B2A
RGBrgb(45, 139, 42)
HSLhsl(118, 54%, 35%)
HSVhsv(118, 70%, 55%)
CMYKcmyk(67.6%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.91, -46.73, 42.20)
CIE-LCHlch(50.91, 62.97, 137.91°)
OKLaboklab(56.13% -0.127 0.0969)
OKLCHoklch(56.13% 0.16 142.7)
XYZxyz(10.7321, 19.1892, 5.3283)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B2A #882A8B
analogous
#5E8B2A #2D8B2A #2A8B57
triadic
#2D8B2A #2A2D8B #8B2A2D
tetradic
#2D8B2A #2A5E8B #882A8B #8B572A
square
#2D8B2A #2A5E8B #882A8B #8B572A
split-complementary
#2D8B2A #572A8B #8B2A5E
monochromatic
#0F2D0E #1E5C1C #2D8B2A #3CBA38 #64CF60

Accessibility & contrast

On white

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

On black

4.84
#2D8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B2A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B2A#FFFFFF#000000##000000
##2D8B2A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#188777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b2a;
/* rgb */ color: rgb(45, 139, 42);
/* oklch */ color: oklch(56.1% 0.160 142.7);
Tailwind
colors: {
  custom: {
    50: '#73ae69',
    500: '#2d8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b2a;
$custom-light: #73ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b2a",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 118.144,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56134,
    "c": 0.1598,
    "h": 142.7
  },
  "luminance": 0.1919
}

Semantic roles & 50–950 ramp

primary
#2D8B2A
secondary
#B25CB5
accent
#4BDDD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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