#2D8A1B#2D8A1B

#2D8A1B is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.168 H 140.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2D8A1B
RGBrgb(45, 138, 27)
HSLhsl(110, 67%, 32%)
HSVhsv(110, 80%, 54%)
CMYKcmyk(67.4%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.47, -47.59, 47.45)
CIE-LCHlch(50.47, 67.20, 135.09°)
OKLaboklab(55.74% -0.1302 0.1058)
OKLCHoklch(55.74% 0.168 140.9)
XYZxyz(10.3680, 18.8129, 4.1216)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A1B #781B8A
analogous
#658A1B #2D8A1B #1B8A40
triadic
#2D8A1B #1B2D8A #8A1B2D
tetradic
#2D8A1B #1B658A #781B8A #8A401B
square
#2D8A1B #1B658A #781B8A #8A401B
split-complementary
#2D8A1B #401B8A #8A1B65
monochromatic
#0C2407 #1C5711 #2D8A1B #3EBD25 #5DDB45

Accessibility & contrast

On white

4.41
#2D8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2D8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A1B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A1B#FFFFFF#000000##000000
##2D8A1B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#1C8575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a1b;
/* rgb */ color: rgb(45, 138, 27);
/* oklch */ color: oklch(55.7% 0.168 140.9);
Tailwind
colors: {
  custom: {
    50: '#74ad61',
    500: '#2d8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a1b;
$custom-light: #74ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a1b",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 110.27,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55736,
    "c": 0.16778,
    "h": 140.9
  },
  "luminance": 0.18814
}

Semantic roles & 50–950 ramp

primary
#2D8A1B
secondary
#A945BC
accent
#3EEACE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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