#2D8B1F#2D8B1F

#2D8B1F is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.167 H 141.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2D8B1F
RGBrgb(45, 139, 31)
HSLhsl(112, 64%, 33%)
HSVhsv(112, 78%, 55%)
CMYKcmyk(67.6%, 0%, 77.7%, 45.5%)
CIE-LABlab(50.83, -47.67, 46.43)
CIE-LCHlch(50.83, 66.55, 135.75°)
OKLaboklab(56.04% -0.1302 0.1043)
OKLCHoklch(56.04% 0.167 141.3)
XYZxyz(10.5616, 19.1210, 4.4302)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8B1F #7D1F8B
analogous
#638B1F #2D8B1F #1F8B47
triadic
#2D8B1F #1F2D8B #8B1F2D
tetradic
#2D8B1F #1F638B #7D1F8B #8B471F
square
#2D8B1F #1F638B #7D1F8B #8B471F
split-complementary
#2D8B1F #471F8B #8B1F63
monochromatic
#0D2709 #1D5914 #2D8B1F #3DBD2A #5FD74D

Accessibility & contrast

On white

4.35
#2D8B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2D8B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8B1F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8B1F#FFFFFF#000000##000000
##2D8B1F1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#1B8676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d8b1f;
/* rgb */ color: rgb(45, 139, 31);
/* oklch */ color: oklch(56.0% 0.167 141.3);
Tailwind
colors: {
  custom: {
    50: '#74ae63',
    500: '#2d8b1f',
    950: '#000000',
  },
}
SCSS
$custom: #2d8b1f;
$custom-light: #74ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8b1f",
  "rgb": {
    "r": 45,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 112.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56042,
    "c": 0.16682,
    "h": 141.3
  },
  "luminance": 0.19122
}

Semantic roles & 50–950 ramp

primary
#2D8B1F
secondary
#AC4CBA
accent
#41E7D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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