#2D8B2F#2D8B2F

#2D8B2F is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.156 H 143.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2D8B2F
RGBrgb(45, 139, 47)
HSLhsl(121, 51%, 36%)
HSVhsv(121, 68%, 55%)
CMYKcmyk(67.6%, 0%, 66.2%, 45.5%)
CIE-LABlab(50.95, -46.21, 40.06)
CIE-LCHlch(50.95, 61.15, 139.08°)
OKLaboklab(56.18% -0.1254 0.093)
OKLCHoklch(56.18% 0.156 143.4)
XYZxyz(10.8273, 19.2272, 5.8294)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B2F #8B2D89
analogous
#5A8B2D #2D8B2F #2D8B5E
triadic
#2D8B2F #2F2D8B #8B2F2D
tetradic
#2D8B2F #2D5A8B #8B2D89 #8B5E2D
square
#2D8B2F #2D5A8B #8B2D89 #8B5E2D
split-complementary
#2D8B2F #5E2D8B #8B2D5A
monochromatic
#0F2F10 #1E5D1F #2D8B2F #3CB93F #65CD67

Accessibility & contrast

On white

4.33
#2D8B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2D8B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B2F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B2F#FFFFFF#000000##000000
##2D8B2F1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#837637
Tritanopia (blue-blind)
#168778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b2f;
/* rgb */ color: rgb(45, 139, 47);
/* oklch */ color: oklch(56.2% 0.156 143.4);
Tailwind
colors: {
  custom: {
    50: '#73ae6c',
    500: '#2d8b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b2f;
$custom-light: #73ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b2f",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 121.277,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.15608,
    "h": 143.4
  },
  "luminance": 0.19228
}

Semantic roles & 50–950 ramp

primary
#2D8B2F
secondary
#B460B2
accent
#4DD8DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D8B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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