#2D8E1B#2D8E1B

#2D8E1B is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.172 H 141.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2D8E1B
RGBrgb(45, 142, 27)
HSLhsl(111, 68%, 33%)
HSVhsv(111, 81%, 56%)
CMYKcmyk(68.3%, 0%, 81%, 44.3%)
CIE-LABlab(51.82, -49.00, 48.73)
CIE-LCHlch(51.82, 69.11, 135.16°)
OKLaboklab(56.85% -0.134 0.1085)
OKLCHoklch(56.85% 0.172 141)
XYZxyz(10.9525, 19.9819, 4.3164)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E1B #7C1B8E
analogous
#668E1B #2D8E1B #1B8E43
triadic
#2D8E1B #1B2D8E #8E1B2D
tetradic
#2D8E1B #1B668E #7C1B8E #8E431B
square
#2D8E1B #1B668E #7C1B8E #8E431B
split-complementary
#2D8E1B #431B8E #8E1B66
monochromatic
#0C2707 #1D5B11 #2D8E1B #3DC125 #5FDC47

Accessibility & contrast

On white

4.20
#2D8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2D8E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E1B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E1B#FFFFFF#000000##000000
##2D8E1B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867929
Tritanopia (blue-blind)
#1A8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e1b;
/* rgb */ color: rgb(45, 142, 27);
/* oklch */ color: oklch(56.9% 0.172 141.0);
Tailwind
colors: {
  custom: {
    50: '#75b062',
    500: '#2d8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e1b;
$custom-light: #75b062;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e1b",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 110.609,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.17241,
    "h": 141
  },
  "luminance": 0.19983
}

Semantic roles & 50–950 ramp

primary
#2D8E1B
secondary
#AB47BE
accent
#3DEBD0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2D8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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